Package com.evolveum.midpoint.prism
Class ParserFileSource
java.lang.Object
com.evolveum.midpoint.prism.ParserFileSource
- All Implemented Interfaces:
- ParserSource
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanShould the stream be closed after parsing? Useful for sources that create/open the stream themselves.@NotNull FilegetFile()@NotNull InputStreamPresents the input data in the form of an InputStream.booleanIs the source expected to throw IOExceptions?
- 
Constructor Details- 
ParserFileSource
 
- 
- 
Method Details- 
getFile
- 
getInputStreamDescription copied from interface:ParserSourcePresents the input data in the form of an InputStream. For some special cases might not be implemented, and the data could be accessed in another way.- Specified by:
- getInputStreamin interface- ParserSource
- Throws:
- FileNotFoundException
 
- 
closeStreamAfterParsingpublic boolean closeStreamAfterParsing()Description copied from interface:ParserSourceShould the stream be closed after parsing? Useful for sources that create/open the stream themselves.- Specified by:
- closeStreamAfterParsingin interface- ParserSource
 
- 
throwsIOExceptionpublic boolean throwsIOException()Description copied from interface:ParserSourceIs the source expected to throw IOExceptions?- Specified by:
- throwsIOExceptionin interface- ParserSource
 
 
-