Class MarkableRandomAccessFileInputStream
- java.lang.Object
-
- java.io.InputStream
-
- org.apache.commons.io.input.RandomAccessFileInputStream
-
- de.xima.fc.workflow.processor.logic.MarkableRandomAccessFileInputStream
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public final class MarkableRandomAccessFileInputStream extends org.apache.commons.io.input.RandomAccessFileInputStream
- Author:
- XIMA Media GmbH
-
-
Constructor Summary
Constructors Constructor Description MarkableRandomAccessFileInputStream(RandomAccessFile file)
MarkableRandomAccessFileInputStream(RandomAccessFile file, boolean closeOnClose)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
mark(int readlimit)
boolean
markSupported()
void
reset()
-
Methods inherited from class org.apache.commons.io.input.RandomAccessFileInputStream
available, availableLong, builder, getRandomAccessFile, isCloseOnClose, read, read, read, skip
-
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, transferTo
-
-
-
-
Constructor Detail
-
MarkableRandomAccessFileInputStream
public MarkableRandomAccessFileInputStream(RandomAccessFile file)
-
MarkableRandomAccessFileInputStream
public MarkableRandomAccessFileInputStream(RandomAccessFile file, boolean closeOnClose)
-
-
Method Detail
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classorg.apache.commons.io.input.RandomAccessFileInputStream
- Throws:
IOException
-
mark
public void mark(int readlimit)
- Overrides:
mark
in classInputStream
-
markSupported
public boolean markSupported()
- Overrides:
markSupported
in classInputStream
-
reset
public void reset() throws IOException
- Overrides:
reset
in classInputStream
- Throws:
IOException
-
-