Useful packages in Java
A simple conclusion of some useful packages in java.
java.io
Classification by type of stream
Stream of characters
Reader
Writer
- BufferedWriter
- OutputStreamWriter
- PrinterWriter
- StringWriter
- PipedWriter
- CharArrayWriter
- FilterWriter
Stream of bytes
InputStream
- FileInputStream
- FilterInputStream
- ObjectInputStream
- PipedInputStream
- SequenceInputStream
- StringBufferInputStream
- ByteArrayInputStream
OutputStream
Classification by operation object
File
Array
ByteArray
CharArray
Pipe
Data (basic data types)
Buffer
Object serialization
Stream transformation
java.lang
System
Process
Thread
Run
Stack
Exception - Throwable
Error
Exception
- ArrayIndexOutOfBoundsException
- ClassCastException
- ClassNotFoundException
- IllegalArgumentException
- IndexOutOfBoundsException
- NoSuchFieldException
- NoSuchMethodException
- NullPointerException
- NumberFormatException
- RuntimeException
- InterruptedException
Annotation
java.lang
java.lang.annotation
Interface
java.lang
java.lang.reflect
Type
Basic type
Class
Package
Other
Tool class
Character serial
Math
NOTICE: not java.math
Reflection
java.lang.reflect
java.math
NOTICE: not java.lang.Math
To be continued
java.net