Package org.wildfly.security.keystore
Class KeyStoreUtil.ResettableDataFileInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- java.io.DataInputStream
-
- org.wildfly.security.keystore.KeyStoreUtil.ResettableDataFileInputStream
-
- All Implemented Interfaces:
Closeable
,DataInput
,AutoCloseable
- Enclosing class:
- KeyStoreUtil
private static class KeyStoreUtil.ResettableDataFileInputStream extends DataInputStream
-
-
Field Summary
Fields Modifier and Type Field Description private FileChannel
fc
private long
startingPosition
-
Fields inherited from class java.io.FilterInputStream
in
-
-
Constructor Summary
Constructors Constructor Description ResettableDataFileInputStream(FileInputStream is)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
reset()
long
skip(long bytes)
-
Methods inherited from class java.io.DataInputStream
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytes
-
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read
-
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, transferTo
-
-
-
-
Field Detail
-
fc
private FileChannel fc
-
startingPosition
private long startingPosition
-
-
Constructor Detail
-
ResettableDataFileInputStream
public ResettableDataFileInputStream(FileInputStream is)
-
-
Method Detail
-
reset
public void reset() throws IOException
- Overrides:
reset
in classFilterInputStream
- Throws:
IOException
-
skip
public long skip(long bytes) throws IOException
- Overrides:
skip
in classFilterInputStream
- Throws:
IOException
-
-