Try to list all files’ names in the directory by calling:
File file = new File(".");
for(String fileNames : file.list()) System.out.println(fileNames);
and see if you will find your files in the list.
More Related Contents:
- File I/O Concept [closed]
- How to read a file and put it into an array of objects?
- Create a file from a photo URI on Android
- How do I save a String to a text file using Java?
- Java IO implementation of unix/linux “tail -f”
- How to read file from relative path in Java project? java.io.File cannot find the path specified
- Quickly read the last line of a text file?
- Read large files in Java
- How to read file from end to start (in reverse order) in Java?
- Encryption of video files?
- How do I move a file from one location to another in Java?
- How do I sort very large files
- How to Write text file Java
- Recursively list all files within a directory using nio.file.DirectoryStream;
- Best Way to Write Bytes in the Middle of a File in Java
- Read a file line by line in reverse order
- How should I load files into my Java application?
- How to write and read java serialized objects into a file
- File exists and IS directory, but listFiles() returns null
- Sort a file with huge volume of data given memory constraint
- How to convert InputStream to virtual File
- How can I safely encode a string in Java to use as a filename?
- Change file owner group under Linux with java.nio.Files
- Java BufferedReader back to the top of a text file?
- Create folder in Android [duplicate]
- Accessing a file inside a .jar file [duplicate]
- Using BufferedReader to read Text File
- deleting folder from java [duplicate]
- How to create JList with icon and text?
- How to reference a File in raw folder in Android