public class MultiRecognizer extends java.lang.Object implements Recognizer
CONTENT_TYPE_OCTET_STREAM, CONTENT_TYPE_UNKNOWN| Constructor and Description |
|---|
MultiRecognizer() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Recognizer detector) |
java.lang.String |
getContentType(byte[] dataSnippet)
Return the base MIME Type of this data.
|
int |
getMinimalDeterminableDataLength()
Return the number of bytes needed to
determine the content type.
|
public void add(Recognizer detector)
public int getMinimalDeterminableDataLength()
getMinimalDeterminableDataLength in interface Recognizerpublic java.lang.String getContentType(byte[] dataSnippet)
getContentType in interface RecognizerdataSnippet - the first few bytes of the data file.