Hot answers tagged


Naming The method name load_Directory_Files is a bit odd. To follow general Java naming conventions, it would be something like loadDirectoryFiles. This is called camel case. File filtering You can use a FileFilter to accept or discard files for the listFiles call, no need to do it yourself: import; import; import java.util....

Only top voted, non community-wiki answers of a minimum length are eligible