Class DecryptInputStream
- java.lang.Object
-
- java.io.InputStream
-
- org.apache.derby.impl.store.raw.data.ByteHolderInputStream
-
- org.apache.derby.impl.store.raw.data.BufferedByteHolderInputStream
-
- org.apache.derby.impl.store.raw.data.DecryptInputStream
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
public class DecryptInputStream extends BufferedByteHolderInputStream
A DecryptInputStream is used by stream container to access an encrypted stream of bytes.
-
-
Field Summary
Fields Modifier and Type Field Description protected DataFactorydataFactoryprotected java.io.InputStreamin-
Fields inherited from class org.apache.derby.impl.store.raw.data.ByteHolderInputStream
bh
-
-
Constructor Summary
Constructors Constructor Description DecryptInputStream(java.io.InputStream in, ByteHolder bh, DataFactory dataFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfillByteHolder()-
Methods inherited from class org.apache.derby.impl.store.raw.data.BufferedByteHolderInputStream
available, read, read, skip
-
Methods inherited from class org.apache.derby.impl.store.raw.data.ByteHolderInputStream
getByteHolder, setByteHolder
-
-
-
-
Field Detail
-
dataFactory
protected DataFactory dataFactory
-
in
protected java.io.InputStream in
-
-
Constructor Detail
-
DecryptInputStream
public DecryptInputStream(java.io.InputStream in, ByteHolder bh, DataFactory dataFactory) throws java.io.IOException- Throws:
java.io.IOException
-
-
Method Detail
-
fillByteHolder
public void fillByteHolder() throws java.io.IOException- Specified by:
fillByteHolderin classBufferedByteHolderInputStream- Throws:
java.io.IOException
-
-