public class ParserFileSource extends Object implements ParserSource
| Constructor and Description |
|---|
ParserFileSource(File file) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
closeStreamAfterParsing()
Should the stream be closed after parsing? Useful for sources that create/open the stream themselves.
|
File |
getFile() |
InputStream |
getInputStream()
Presents the input data in the form of an InputStream.
|
boolean |
throwsIOException()
Is the source expected to throw IOExceptions?
|
public ParserFileSource(@NotNull
File file)
@NotNull public File getFile()
@NotNull public InputStream getInputStream() throws FileNotFoundException
ParserSourcegetInputStream in interface ParserSourceFileNotFoundExceptionpublic boolean closeStreamAfterParsing()
ParserSourcecloseStreamAfterParsing in interface ParserSourcepublic boolean throwsIOException()
ParserSourcethrowsIOException in interface ParserSourceCopyright © 2019 Evolveum. All rights reserved.