I am new to Java and need to create a program that can parse text files and directory listings. Any help?
- Mike TLv 71 decade agoFavorite Answer
For gathering and traversing directories, I recommend using the Java File class. The list and listFiles methods provide a simple interface for obtaining lists of files in a directory.
- 1 decade ago
here is documentation on the java class which allows you to do this:
and documentation on the "parser syntax" (regular expressions):