public class JsonFileDetector extends Object implements net.sf.jmimemagic.MagicDetector
Constructor and Description |
---|
JsonFileDetector()
Creates a new TextFileDetector object.
|
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName()
DOCUMENT ME!
|
String[] |
getHandledExtensions()
DOCUMENT ME!
|
String[] |
getHandledTypes()
DOCUMENT ME!
|
String |
getName()
DOCUMENT ME!
|
String |
getVersion()
DOCUMENT ME!
|
String[] |
process(byte[] data,
int offset,
int length,
long bitmask,
char comparator,
String mimeType,
Map<String,String> params)
DOCUMENT ME!
|
String[] |
process(File file,
int offset,
int length,
long bitmask,
char comparator,
String mimeType,
Map<String,String> params)
DOCUMENT ME!
|
public JsonFileDetector()
public String getDisplayName()
getDisplayName
in interface net.sf.jmimemagic.MagicDetector
public String[] getHandledExtensions()
getHandledExtensions
in interface net.sf.jmimemagic.MagicDetector
public String[] getHandledTypes()
getHandledTypes
in interface net.sf.jmimemagic.MagicDetector
public String getName()
getName
in interface net.sf.jmimemagic.MagicDetector
public String getVersion()
getVersion
in interface net.sf.jmimemagic.MagicDetector
public String[] process(byte[] data, int offset, int length, long bitmask, char comparator, String mimeType, Map<String,String> params)
process
in interface net.sf.jmimemagic.MagicDetector
data
- DOCUMENT ME!offset
- DOCUMENT ME!length
- DOCUMENT ME!bitmask
- DOCUMENT ME!comparator
- DOCUMENT ME!mimeType
- DOCUMENT ME!params
- DOCUMENT ME!public String[] process(File file, int offset, int length, long bitmask, char comparator, String mimeType, Map<String,String> params)
process
in interface net.sf.jmimemagic.MagicDetector
file
- DOCUMENT ME!offset
- DOCUMENT ME!length
- DOCUMENT ME!bitmask
- DOCUMENT ME!comparator
- DOCUMENT ME!mimeType
- DOCUMENT ME!params
- DOCUMENT ME!Copyright © 2018 Technearts. All rights reserved.