Interface TypeChecker

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      FileType checkType​(byte[] bytes)
      Returns the file type identified within 'bytes', otherwise 'Unknown'.
      int getByteCount()
      Gets the number of bytes this type checker needs in order to identify its file type.
    • Method Detail

      • getByteCount

        int getByteCount()
        Gets the number of bytes this type checker needs in order to identify its file type.
      • checkType

        FileType checkType​(byte[] bytes)
        Returns the file type identified within 'bytes', otherwise 'Unknown'.