Class MpegAudioTypeChecker

  • All Implemented Interfaces:
    TypeChecker

    public class MpegAudioTypeChecker
    extends java.lang.Object
    implements TypeChecker
    • Method Summary

      All Methods Instance Methods Concrete 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MpegAudioTypeChecker

        public MpegAudioTypeChecker()
    • Method Detail

      • getByteCount

        public int getByteCount()
        Description copied from interface: TypeChecker
        Gets the number of bytes this type checker needs in order to identify its file type.
        Specified by:
        getByteCount in interface TypeChecker
      • checkType

        public FileType checkType​(byte[] bytes)
        Description copied from interface: TypeChecker
        Returns the file type identified within 'bytes', otherwise 'Unknown'.
        Specified by:
        checkType in interface TypeChecker