Interface IBinaryParser

    • Method Detail

      • getBinary

        IBinaryParser.IBinaryFile getBinary​(byte[] hints,
                                            org.eclipse.core.runtime.IPath path)
                                     throws IOException
        Creates an IBinaryFile.
        Parameters:
        hints - - array byte that can be use to recognise the file. Can be null or empty array when no hints are passed.
        path -
        Throws:
        IOException
      • getFormat

        String getFormat()
        Returns the name of the Format.
      • isBinary

        boolean isBinary​(byte[] hints,
                         org.eclipse.core.runtime.IPath path)
        True if the resource is a binary.
        Parameters:
        hints -
        path -
      • getHintBufferSize

        int getHintBufferSize()
        Get a hint of the needed buffer size to recognize the file.