public class FileSource extends AbstractSource<File>
File source| Constructor and Description |
|---|
FileSource(File file) |
| Modifier and Type | Method and Description |
|---|---|
<R> R |
dispatch(SourceDispatcher<R> dispatcher) |
File |
getSource() |
org.sejda.io.SeekableSource |
initializeSeekableSource() |
static FileSource |
newInstance(File file) |
String |
toString() |
getNamegetEncryptionAtRestPolicy, getSeekableSource, setEncryptionAtRestPolicyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetEncryptionAtRestPolicy, getSeekableSource, setEncryptionAtRestPolicypublic FileSource(File file)
public File getSource()
public String toString()
toString in class AbstractSource<File>public <R> R dispatch(SourceDispatcher<R> dispatcher) throws TaskIOException
R - generic type as result of the dispatch action.TaskIOExceptionpublic org.sejda.io.SeekableSource initializeSeekableSource()
throws IOException
IOExceptionpublic static FileSource newInstance(File file)
Copyright © 2021 sejda. All rights reserved.