Package com.drew.imaging.mp3
Class MpegAudioTypeChecker
java.lang.Object
com.drew.imaging.mp3.MpegAudioTypeChecker
- All Implemented Interfaces:
TypeChecker
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncheckType(byte[] bytes) Returns the file type identified within 'bytes', otherwise 'Unknown'.intGets the number of bytes this type checker needs in order to identify its file type.
-
Constructor Details
-
MpegAudioTypeChecker
public MpegAudioTypeChecker()
-
-
Method Details
-
getByteCount
public int getByteCount()Description copied from interface:TypeCheckerGets the number of bytes this type checker needs in order to identify its file type.- Specified by:
getByteCountin interfaceTypeChecker
-
checkType
Description copied from interface:TypeCheckerReturns the file type identified within 'bytes', otherwise 'Unknown'.- Specified by:
checkTypein interfaceTypeChecker
-