public class PptMimetypeSniffer extends Object implements net.sf.jmimemagic.MagicDetector
Constructor and Description |
---|
PptMimetypeSniffer() |
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName() |
String[] |
getHandledExtensions() |
String[] |
getHandledTypes() |
String |
getName() |
String |
getVersion() |
String[] |
guessPowerpoint(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 PptMimetypeSniffer()
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[] guessPowerpoint(File file)
Copyright © 2015 Nuxeo SA. All rights reserved.