Interface ParserSource

    • Method Detail

      • getInputStream

        @NotNull
        @NotNull InputStream getInputStream()
                                     throws IOException
        Presents 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.
        Throws:
        IOException
      • closeStreamAfterParsing

        boolean closeStreamAfterParsing()
        Should the stream be closed after parsing? Useful for sources that create/open the stream themselves.
      • throwsIOException

        boolean throwsIOException()
        Is the source expected to throw IOExceptions?