Java SE Tutorials:

How to Read and Write Text File in JavaHow to Read and Write Text File in Java
Useful Java code examples for reading and writing text files
Published:  05 September 2014    Views: 45,604    25 comments
 
How to extract a zip file in Java programmaticallyHow to extract a zip file in Java programmatically
How to unzip files programmatically in Java with a utility class and a test program
Published:  29 March 2012    Views: 42,589    49 comments
 
Java File IO List files and directories ExampleJava File IO List files and directories Example
Java code examples to list files and directories
Published:  16 August 2012    Views: 28,931    13 comments
 
3 ways for reading user's input from console in Java3 ways for reading user's input from console in Java
Java code Examples for reading input from the user in the command line (console)
Published:  15 March 2014    Views: 26,448    3 comments
 
How to Read and Write Binary Files in JavaHow to Read and Write Binary Files in Java
Java examples for reading and writing binary data using both legacy File IO and New IO (NIO)
Published:  02 December 2016    Views: 19,693    8 comments
 
Java File change notification example with Watch Service APIJava File change notification example with Watch Service API
Java code examples to monitor file and directory change events with Watch Service API
Published:  05 September 2013    Views: 19,451    19 comments
 
Java File IO - Listing all drives with type, total space and free spaceJava File IO - Listing all drives with type, total space and free space
Java code examples to list available drive partitions on computer with their drive letters, type description, total space and free space.
Published:  13 September 2013    Views: 18,928    9 comments
 
How to Execute Operating System Commands in JavaHow to Execute Operating System Commands in Java
Java code examples to run native commands of the operating system
Published:  21 September 2014    Views: 18,879    7 comments
 
Java File IO - List files and directories recursivelyJava File IO - List files and directories recursively
Java code example to to list all files and directories (including sub files and sub directories) of a directory, using recursive algorithm.
Published:  20 August 2012    Views: 18,197    3 comments
 
How to read text file line by line in JavaHow to read text file line by line in Java
Java code examples to read line by line from a text file.
Published:  12 September 2013    Views: 14,893    2 comments