Interface BfsParser

    • Method Detail

      • getFilename

        String getFilename()
        Get the filename of the file that is being parsed.
        Returns:
        The filename or null if not known
      • getFileSize

        long getFileSize()
        Get the size of the file that is being parsed.
        Returns:
        The size of the file or -1 if not known
      • getCurrentLine

        int getCurrentLine()
        Get the current line number.
        Returns:
        The line number, starting at 1 for the first line in the file, or -1 if not known
      • getParsedBytes

        long getParsedBytes()
        Get the number of parsed bytes so far.
        Returns:
        The number of bytes that has been parsed, or -1 if not known
      • close

        void close()
        Close the parser and relase underlying system resources that are associated with it.
        Specified by:
        close in interface AutoCloseable