Class CharBufferWrapper.ByteBufferInputStream
- java.lang.Object
-
- java.io.InputStream
-
- org.apache.james.mime4j.mboxiterator.CharBufferWrapper.ByteBufferInputStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
- Enclosing class:
- CharBufferWrapper
private static class CharBufferWrapper.ByteBufferInputStream extends java.io.InputStream
Provide an InputStream view over a ByteBuffer.
-
-
Field Summary
Fields Modifier and Type Field Description private java.nio.ByteBuffer
buf
-
Constructor Summary
Constructors Modifier Constructor Description private
ByteBufferInputStream(java.nio.ByteBuffer buf)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
read()
int
read(byte[] bytes, int off, int len)
-