public abstract class BaseSeekableSource extends Object implements SeekableSource
SeekableSource that provides base functionalities common to all the SeekableSources.| Constructor and Description |
|---|
BaseSeekableSource(String id) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String |
id() |
boolean |
isOpen() |
protected void |
requireOpen() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasInputStream, back, back, forward, peek, peekBack, position, position, read, size, viewreadpublic BaseSeekableSource(String id)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface ChannelIOExceptionprotected void requireOpen()
throws IOException
IllegalStateException - if the source is closedIOExceptionpublic String id()
id in interface SeekableSourceCopyright © 2018 sejda. All rights reserved.