Class ParserFileSource

    • Constructor Detail

      • ParserFileSource

        public ParserFileSource​(@NotNull
                                @NotNull File file)
    • Method Detail

      • getFile

        @NotNull
        public @NotNull File getFile()
      • closeStreamAfterParsing

        public boolean closeStreamAfterParsing()
        Description copied from interface: ParserSource
        Should the stream be closed after parsing? Useful for sources that create/open the stream themselves.
        Specified by:
        closeStreamAfterParsing in interface ParserSource
      • throwsIOException

        public boolean throwsIOException()
        Description copied from interface: ParserSource
        Is the source expected to throw IOExceptions?
        Specified by:
        throwsIOException in interface ParserSource