Package com.drew.imaging
Interface TypeChecker
-
public interface TypeCheckerUsed byFileTypeDetectorfor file types that cannot be identified by a simple byte-prefix analysis.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FileTypecheckType(byte[] bytes)Returns the file type identified within 'bytes', otherwise 'Unknown'.intgetByteCount()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'.
-
-