|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jmimemagic.detectors.TextFileDetector
DOCUMENT ME!
Constructor Summary | |
TextFileDetector()
Creates a new TextFileDetector object. |
Method Summary | |
java.lang.String |
getDisplayName()
DOCUMENT ME! |
java.lang.String[] |
getHandledExtensions()
DOCUMENT ME! |
java.lang.String[] |
getHandledTypes()
DOCUMENT ME! |
java.lang.String |
getName()
DOCUMENT ME! |
java.lang.String |
getVersion()
DOCUMENT ME! |
java.lang.String[] |
process(byte[] data,
int offset,
int length,
long bitmask,
char comparator,
java.lang.String mimeType,
java.util.Map params)
DOCUMENT ME! |
java.lang.String[] |
process(java.io.File file,
int offset,
int length,
long bitmask,
char comparator,
java.lang.String mimeType,
java.util.Map params)
DOCUMENT ME! |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TextFileDetector()
Method Detail |
public java.lang.String getDisplayName()
getDisplayName
in interface MagicDetector
public java.lang.String getVersion()
getVersion
in interface MagicDetector
public java.lang.String[] getHandledExtensions()
getHandledExtensions
in interface MagicDetector
public java.lang.String[] getHandledTypes()
getHandledTypes
in interface MagicDetector
public java.lang.String getName()
getName
in interface MagicDetector
public java.lang.String[] process(byte[] data, int offset, int length, long bitmask, char comparator, java.lang.String mimeType, java.util.Map params)
process
in interface MagicDetector
data
- DOCUMENT ME!offset
- DOCUMENT ME!length
- DOCUMENT ME!bitmask
- DOCUMENT ME!comparator
- DOCUMENT ME!mimeType
- DOCUMENT ME!params
- DOCUMENT ME!
public java.lang.String[] process(java.io.File file, int offset, int length, long bitmask, char comparator, java.lang.String mimeType, java.util.Map params)
process
in interface MagicDetector
file
- DOCUMENT ME!offset
- DOCUMENT ME!length
- DOCUMENT ME!bitmask
- DOCUMENT ME!comparator
- DOCUMENT ME!mimeType
- DOCUMENT ME!params
- DOCUMENT ME!
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |