Class QuickTimeTypeChecker

java.lang.Object
com.drew.imaging.quicktime.QuickTimeTypeChecker
All Implemented Interfaces:
TypeChecker

public class QuickTimeTypeChecker extends Object implements TypeChecker
  • Constructor Details

    • QuickTimeTypeChecker

      public QuickTimeTypeChecker()
  • Method Details

    • 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