Package com.evolveum.midpoint.prism
Class ParserInputStreamSource
- java.lang.Object
 - 
- com.evolveum.midpoint.prism.ParserInputStreamSource
 
 
- 
- All Implemented Interfaces:
 ParserSource
public class ParserInputStreamSource extends Object implements ParserSource
- Author:
 - mederly
 
 
- 
- 
Constructor Summary
Constructors Constructor Description ParserInputStreamSource(@NotNull InputStream inputStream) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancloseStreamAfterParsing()Should the stream be closed after parsing? Useful for sources that create/open the stream themselves.@NotNull InputStreamgetInputStream()Presents the input data in the form of an InputStream.booleanthrowsIOException()Is the source expected to throw IOExceptions? 
 - 
 
- 
- 
Constructor Detail
- 
ParserInputStreamSource
public ParserInputStreamSource(@NotNull @NotNull InputStream inputStream) 
 - 
 
- 
Method Detail
- 
getInputStream
@NotNull public @NotNull InputStream getInputStream()
Description 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 interfaceParserSource
 
- 
closeStreamAfterParsing
public 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 interfaceParserSource
 
- 
throwsIOException
public boolean throwsIOException()
Description copied from interface:ParserSourceIs the source expected to throw IOExceptions?- Specified by:
 throwsIOExceptionin interfaceParserSource
 
 - 
 
 -