javalanguage-files
Console application that shows how to interact with files in Java. For more information, see:
- Scanner
- FileReader
- FileWriter
- RandomAccessFile
- FileInputStream
- FileOutputStream
- ObjectInputStream
- ObjectOutputStream
Also, see the companion blog post at this location: TBD.
Running the Example
- From the project, create an executable JAR
- From a terminal window, go to the directory containing the JAR and execute a command similar to the following:
java -jar Files.jar
Alternatively, you can use a tool like Eclipse to build the application and run it.