Package com.drew.imaging
Interface TypeChecker
-
public interface TypeChecker
Used byFileTypeDetector
for 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 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'.
-
-