Interface AbstractReader.BinaryParserWorker

  • Enclosing class:
    AbstractReader
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    protected static interface AbstractReader.BinaryParserWorker
    An interface for reading binary data
    Since:
    18695
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void accept​(java.io.InputStream ir)
      Effectively parses the file, depending on the binary format (PBF, etc.)
    • Method Detail

      • accept

        void accept​(java.io.InputStream ir)
             throws IllegalDataException,
                    java.io.IOException
        Effectively parses the file, depending on the binary format (PBF, etc.)
        Parameters:
        ir - input stream reader
        Throws:
        IllegalDataException - in case of invalid data
        java.io.IOException - in case of I/O error