Java.io Package in Java
This package provides for system input and output through data streams, serialization and the file system. Unless otherwise noted, passing a null argument to a constructor or method in any class or interface in this package will cause a NullPointerException to be thrown.
Following are the important classes in Java.io package:
- BufferedInputStream
- BufferedOutputStream
- BufferedReader
- BufferedWriter
- ByteArrayInputStream
- ByteArrayOutputStream
- CharArrayReader
- CharArrayWriter – Set1 Set2
- Console
- DataInputStream – Set1 Set2
- DataOutputStream
- File
- FileDescriptor
- FileInputStream
- FileOutputStream
- FilePermission
- FileReader and FileWriter
- FilterInputStream
- FilterOutputStream
- FilterReader
- FilterWriter
- InputStream
- InputStreamReader
- LineNumberInputStream
- LineNumberReader
- ObjectInputStream – Set1 Set2
- ObjectInputStream.GetField
- ObjectOutputStream – Set 1 Set2
- ObjectOutputStream.PutField
- ObjectStreamClass
- ObjectStreamField
- OutputStream
- OutputStreamWriter
- PipedInputStream
- PipedOutputStream
- PipedReader
- PipedWriter
- PrintStream – Set1 Set2
- PrintWriter – Set1 Set2
- PushbackInputStream
- PushbackReader
- RandomAccessFile- Set1 Set2 Set3
- Reader
- SequenceInputStream
- SerializablePermission
- StreamTokenizer – Set1 Set2
- StringBufferInputStream
- StringReader
- StringWriter
- Writer
- ZipInputStream class in Java
- ZipEntry class in Java
- JarEntry class in Java
- ZipOutputStream class in Java
- Zip.InflaterInputStream class in Java
- Zip.DeflaterInputStream class in Java
- Zip.DeflaterOutputStream class in Java
post a comment