public class XlsMimetypeSniffer extends Object implements net.sf.jmimemagic.MagicDetector
Constructor and Description |
---|
XlsMimetypeSniffer() |
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName() |
String[] |
getHandledExtensions() |
String[] |
getHandledTypes() |
String |
getName() |
String |
getVersion() |
String[] |
guessExcel(File file) |
String[] |
process(byte[] data,
int offset,
int length,
long bitmask,
char comparator,
String mimeType,
Map params) |
String[] |
process(File file,
int offset,
int length,
long bitmask,
char comparator,
String mimeType,
Map params) |
public XlsMimetypeSniffer()
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 getVersion()
getVersion
in interface net.sf.jmimemagic.MagicDetector
public String[] process(byte[] data, int offset, int length, long bitmask, char comparator, String mimeType, Map params)
process
in interface net.sf.jmimemagic.MagicDetector
public String[] process(File file, int offset, int length, long bitmask, char comparator, String mimeType, Map params)
process
in interface net.sf.jmimemagic.MagicDetector
public String[] guessExcel(File file)
Copyright © 2015 Nuxeo SA. All rights reserved.