This project covers methods for reading from and writing to files. Exceptions inevitably occur during file operations.
ExceptionExample.java
: Example ofNumberFormatException
NewtonMethod.java
: Example ofIllegalArgumentException
BinaryFileCopy.java
: Copying a binary fileFileCopy.java
: Copying a text file
Directory.java
: Examples of file paths, directory names and file separators.Input.java
: Example of reading from files or a standard input.PrintStreamExample.java
: Example of opening aPrintStream
with a filename and writing strings.StandardInput
: Example of direct reading from a standard input.WriterExample
: Example of usingBufferedWriter
.
Examples of reading from URLs.