Package java.nio
-
Class Summary Class Description Buffer A buffer is a list of elements of a specific primitive type.ByteBuffer A buffer for bytes.ByteOrder Defines byte order constants.CharBuffer A buffer of chars.DoubleBuffer A buffer of doubles.FloatBuffer A buffer of floats.IntBuffer A buffer of ints.LongBuffer A buffer of longs.MappedByteBuffer MappedByteBufferis a special kind of direct byte buffer which maps a region of file to memory.NioUtils SelectorProviderImpl ShortBuffer A buffer of shorts. -
Exception Summary Exception Description BufferOverflowException ABufferOverflowExceptionis thrown when elements are written to a buffer but there is not enough remaining space in the buffer.BufferUnderflowException ABufferUnderflowExceptionis thrown when elements are read from a buffer but there are not enough remaining elements in the buffer.InvalidMarkException AnInvalidMarkExceptionis thrown whenreset()is called on a buffer, but no mark has been set previously.ReadOnlyBufferException AReadOnlyBufferExceptionis thrown when some write operation is called on a read-only buffer.