AutoCloseable
try(
// AutoCloseable here
) {
} catch(Expression e) {
}
Input | Output |
---|---|
FileInputStream |
FileOutputStream |
BiteArrayInputStream |
BiteArrayOutputStream |
BufferedInputStream |
BufferedOutputStream |
DataInputStream |
DataOutputStream |
ObjectInputStream |
ObjectOutputStream |
PipedInputStream |
PipedOutputStream |
GzipInputStream |
GzipOutputStream |
SequenceInputStream |
SequenceOutputStream |
AudioInputStream |
AudioOutputStream |
FileReader
Scanner
PrintWriter
BufferedReader
Use buffer with a file : FileReader
->BufferedReader
->Scanner