|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ContentType | |
---|---|
com.j256.simplemagic | Top level code used externally. |
com.j256.simplemagic.entries | Internal storing of the entries read from the magic file(s). |
Uses of ContentType in com.j256.simplemagic |
---|
Methods in com.j256.simplemagic that return ContentType | |
---|---|
ContentType |
ContentTypeUtil.findMatch(byte[] bytes)
Return the content type from the associated bytes or null if none of the magic entries matched. |
ContentType |
ContentTypeUtil.findMatch(File file)
Return the content type for the file or null if none of the magic entries matched. |
ContentType |
ContentTypeUtil.findMatch(InputStream inputStream)
Return the content type for the input-stream or null if none of the magic entries matched. |
ContentType |
ContentTypeUtil.findMatch(String filePath)
Return the content type for the file or null if none of the magic entries matched. |
Uses of ContentType in com.j256.simplemagic.entries |
---|
Methods in com.j256.simplemagic.entries that return ContentType | |
---|---|
ContentType |
MagicEntry.processBytes(byte[] bytes)
Returns the content type associated with the bytes or null if it does not match. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |