public class MagicMimeTypeIdentifier
extends java.lang.Object
UtfUtil
MagicNumber
MagicMimeTypeIdentifier
MagicString
MagicNumber
Modifier and Type | Method and Description |
---|---|
static MagicMimeTypeIdentifier |
getInstance() |
protected java.util.ArrayList |
getMimeTypeDescriptions() |
int |
getMinArrayLength() |
java.lang.String |
identify(byte[] firstBytes) |
java.lang.String |
identify(java.io.File file) |
public static MagicMimeTypeIdentifier getInstance()
protected java.util.ArrayList getMimeTypeDescriptions()
public java.lang.String identify(java.io.File file)
public java.lang.String identify(byte[] firstBytes)
public int getMinArrayLength()
Copyright © 2001-2010 Jalios SA. All Rights Reserved.