public interface TypeChecker
FileTypeDetector
for file types that cannot be identified by a simple byte-prefix analysis.Modifier and Type | Method and 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.
|
int getByteCount()
FileType checkType(byte[] bytes)
Copyright © 2002-2020 Drew Noakes. All Rights Reserved.