„Hallo Amigo! Ich habe mir ein paar interessante Aufgaben für dich ausgedacht.“
„Sie können nur in IntelliJ IDEA abgeschlossen werden. Schauen Sie sich diese interessanten Bedingungen an…“
28
Aufgabe
Java Collections, Level 1, Lektion 2
Gesperrt
Iterating through a file tree
1. The main method is passed two arguments as inputs.
The first argument is path, which is the path to the directory; the second is resultFileAbsolutePath, which is the name (full path) of an existing file that will store the result.
14
Aufgabe
Java Collections, Level 1, Lektion 2
Gesperrt
Find all the files
Implement the getFileTree method, which must create a list of all of the files, including nested files.
Don't use recursion.
Return a list of the paths to all the found files. Don't return paths to directories.
The path must be absolute.
28
Aufgabe
Java Collections, Level 1, Lektion 2
Gesperrt
Advanced file search
Let's implement a configurable file search within a directory. Look over the java.nio.file.FileVisitor interface and its superclass's implementation java.nio.file.SimpleFileVisitor.
0
Kommentare
Beliebt
Neu
Alt
Du musst angemeldet sein, um einen Kommentar schreiben zu können