Class BufferedByteHolderInputStream
- java.lang.Object
-
- java.io.InputStream
-
- org.apache.derby.impl.store.raw.data.ByteHolderInputStream
-
- org.apache.derby.impl.store.raw.data.BufferedByteHolderInputStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
- Direct Known Subclasses:
DecryptInputStream
,OverflowInputStream
public abstract class BufferedByteHolderInputStream extends ByteHolderInputStream
-
-
Field Summary
-
Fields inherited from class org.apache.derby.impl.store.raw.data.ByteHolderInputStream
bh
-
-
Constructor Summary
Constructors Constructor Description BufferedByteHolderInputStream(ByteHolder bh)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description int
available()
abstract void
fillByteHolder()
int
read()
int
read(byte[] b, int off, int len)
long
skip(long count)
-
Methods inherited from class org.apache.derby.impl.store.raw.data.ByteHolderInputStream
getByteHolder, setByteHolder
-
-
-
-
Constructor Detail
-
BufferedByteHolderInputStream
public BufferedByteHolderInputStream(ByteHolder bh)
-
-
Method Detail
-
fillByteHolder
public abstract void fillByteHolder() throws java.io.IOException
- Throws:
java.io.IOException
-
read
public int read() throws java.io.IOException
- Overrides:
read
in classByteHolderInputStream
- Throws:
java.io.IOException
-
read
public int read(byte[] b, int off, int len) throws java.io.IOException
- Overrides:
read
in classByteHolderInputStream
- Throws:
java.io.IOException
-
skip
public long skip(long count) throws java.io.IOException
- Overrides:
skip
in classByteHolderInputStream
- Throws:
java.io.IOException
-
available
public int available() throws java.io.IOException
- Overrides:
available
in classByteHolderInputStream
- Throws:
java.io.IOException
-
-