public class FileSource extends AbstractSource<File>
File
sourceConstructor and Description |
---|
FileSource(File file) |
Modifier and Type | Method and Description |
---|---|
<R> R |
dispatch(SourceDispatcher<R> dispatcher) |
File |
getSource() |
static FileSource |
newInstance(File file) |
String |
toString() |
getName
public 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.TaskIOException
public static FileSource newInstance(File file)
Copyright © 2019 sejda. All rights reserved.