org.icepdf.core.io
Interface SeekableInput
- All Known Implementing Classes:
- RandomAccessFileInputStream, SeekableByteArrayInputStream
public interface SeekableInput
- Since:
- 2.0
- Author:
- Mark Collette
read
int read()
throws java.io.IOException
- Throws:
java.io.IOException
read
int read(byte[] buffer)
throws java.io.IOException
- Throws:
java.io.IOException
read
int read(byte[] buffer,
int offset,
int length)
throws java.io.IOException
- Throws:
java.io.IOException
close
void close()
throws java.io.IOException
- Throws:
java.io.IOException
available
int available()
mark
void mark(int readLimit)
markSupported
boolean markSupported()
reset
void reset()
throws java.io.IOException
- Throws:
java.io.IOException
skip
long skip(long n)
throws java.io.IOException
- Throws:
java.io.IOException
seekAbsolute
void seekAbsolute(long absolutePosition)
throws java.io.IOException
- Throws:
java.io.IOException
seekRelative
void seekRelative(long relativeOffset)
throws java.io.IOException
- Throws:
java.io.IOException
seekEnd
void seekEnd()
throws java.io.IOException
- Throws:
java.io.IOException
getAbsolutePosition
long getAbsolutePosition()
throws java.io.IOException
- Throws:
java.io.IOException
getLength
long getLength()
throws java.io.IOException
- Throws:
java.io.IOException
getInputStream
java.io.InputStream getInputStream()
beginThreadAccess
void beginThreadAccess()
endThreadAccess
void endThreadAccess()