All examples in the File I/O category
File I/O
Remove a line from a text file
Loading configuration parameters from textfile into a program
Writing objects to file with ObjectOutputStream
Write to file using a BufferedWriter
Write to file using BufferedOutputStream
Write lines of text to file using a PrintWriter
Using the StringReader class
Using the StreamTokenizer class
Using the RandomAccessFile class
Using the LineNumberReader class
Rename (or move) a directory
Reading objects from file using ObjectInputStream
Read lines of text from a file with the BufferedReader class
Read from file with BufferedInputStream
Read from a file using a BufferedReader
Read each line in a comma separated file into an array
Printing text with the Console class
Masking a password with the Console class
List files of a certain type
List file structure within folder or hard drive
List drives
Get file size
Delete a file
Create file
Create a temporary file
Create a directory (or several directories)
Copy a file
Change last modified time of a file or directory
Search for code examples on this site