|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MagicParseException | |
net.sf.jmimemagic |
Uses of MagicParseException in net.sf.jmimemagic |
Methods in net.sf.jmimemagic that throw MagicParseException | |
void |
MagicParser.initialize()
parse the xml file and create our MagicMatcher object list |
static void |
Magic.initialize()
create a parser and initialize it |
static java.util.Collection |
Magic.getMatchers()
return the parsed MagicMatch objects that were created from the magic.xml definitions |
static MagicMatch |
Magic.getMagicMatch(byte[] data)
get a match from a stream of data |
static MagicMatch |
Magic.getMagicMatch(byte[] data,
boolean onlyMimeMatch)
get a match from a stream of data |
static MagicMatch |
Magic.getMagicMatch(java.io.File file,
boolean extensionHints)
get a match from a file |
static MagicMatch |
Magic.getMagicMatch(java.io.File file,
boolean extensionHints,
boolean onlyMimeMatch)
get a match from a file |
static void |
Magic.printMagicFile(java.io.PrintStream stream)
print the contents of a magic file |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |