Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
E
F
G
I
M
N
P
S
T
U
V
W
A
addSubMatch(MagicMatch)
- Method in class net.sf.jmimemagic.
MagicMatch
add a submatch to this magic match
addSubMatcher(MagicMatcher)
- Method in class net.sf.jmimemagic.
MagicMatcher
add a submatch to this magic match
C
characters(char[], int, int)
- Method in class net.sf.jmimemagic.
MagicParser
DOCUMENT ME!
clone()
- Method in class net.sf.jmimemagic.
MagicMatch
DOCUMENT ME!
clone()
- Method in class net.sf.jmimemagic.
MagicMatcher
DOCUMENT ME!
D
DEFAULT_NAMESPACES
- Static variable in class net.sf.jmimemagic.
MagicParser
DEFAULT_PARSER_NAME
- Static variable in class net.sf.jmimemagic.
MagicParser
DEFAULT_SCHEMA_FULL_CHECKING
- Static variable in class net.sf.jmimemagic.
MagicParser
DEFAULT_SCHEMA_VALIDATION
- Static variable in class net.sf.jmimemagic.
MagicParser
DEFAULT_VALIDATION
- Static variable in class net.sf.jmimemagic.
MagicParser
descriptionMatches(String)
- Method in class net.sf.jmimemagic.
MagicMatch
determine if this match or any submatches has the description
E
endDocument()
- Method in class net.sf.jmimemagic.
MagicParser
DOCUMENT ME!
endElement(String, String, String)
- Method in class net.sf.jmimemagic.
MagicParser
DOCUMENT ME!
error(SAXParseException)
- Method in class net.sf.jmimemagic.
MagicParser
DOCUMENT ME!
F
fatalError(SAXParseException)
- Method in class net.sf.jmimemagic.
MagicParser
DOCUMENT ME!
G
getBitmask()
- Method in class net.sf.jmimemagic.
MagicMatch
get the bitmask that will be applied for this magic match
getComparator()
- Method in class net.sf.jmimemagic.
MagicMatch
get the comparator for this magic match
getDescription()
- Method in class net.sf.jmimemagic.
MagicMatch
get the description for this magic match
getDetectorExtensions()
- Method in class net.sf.jmimemagic.
MagicMatcher
Get the extensions for the underlying detectory
getDisplayName()
- Method in interface net.sf.jmimemagic.
MagicDetector
DOCUMENT ME!
getDisplayName()
- Method in class net.sf.jmimemagic.detectors.
TextFileDetector
DOCUMENT ME!
getExtension()
- Method in class net.sf.jmimemagic.
MagicMatch
get the extension for this magic match
getHandledExtensions()
- Method in interface net.sf.jmimemagic.
MagicDetector
DOCUMENT ME!
getHandledExtensions()
- Method in class net.sf.jmimemagic.detectors.
TextFileDetector
DOCUMENT ME!
getHandledTypes()
- Method in interface net.sf.jmimemagic.
MagicDetector
DOCUMENT ME!
getHandledTypes()
- Method in class net.sf.jmimemagic.detectors.
TextFileDetector
DOCUMENT ME!
getLength()
- Method in class net.sf.jmimemagic.
MagicMatch
get the length we are restricting the comparison to for this magic match
getMagicMatch(byte[])
- Static method in class net.sf.jmimemagic.
Magic
get a match from a stream of data
getMagicMatch(byte[], boolean)
- Static method in class net.sf.jmimemagic.
Magic
get a match from a stream of data
getMagicMatch(File, boolean)
- Static method in class net.sf.jmimemagic.
Magic
get a match from a file
getMagicMatch(File, boolean, boolean)
- Static method in class net.sf.jmimemagic.
Magic
get a match from a file
getMatch()
- Method in class net.sf.jmimemagic.
MagicMatcher
DOCUMENT ME!
getMatchers()
- Static method in class net.sf.jmimemagic.
Magic
return the parsed MagicMatch objects that were created from the magic.xml definitions
getMatchers()
- Method in class net.sf.jmimemagic.
MagicParser
DOCUMENT ME!
getMimeType()
- Method in class net.sf.jmimemagic.
MagicMatch
get the magic match for this magic match
getName()
- Method in interface net.sf.jmimemagic.
MagicDetector
DOCUMENT ME!
getName()
- Method in class net.sf.jmimemagic.detectors.
TextFileDetector
DOCUMENT ME!
getOffset()
- Method in class net.sf.jmimemagic.
MagicMatch
get the offset in the stream we are comparing to the test value for this magic match
getProperties()
- Method in class net.sf.jmimemagic.
MagicMatch
get the properties for this magic match
getSubMatchers()
- Method in class net.sf.jmimemagic.
MagicMatcher
get all submatches for this magic match
getSubMatches()
- Method in class net.sf.jmimemagic.
MagicMatch
get all submatches for this magic match
getTest()
- Method in class net.sf.jmimemagic.
MagicMatch
get the test value for this magic match
getType()
- Method in class net.sf.jmimemagic.
MagicMatch
get the type of match for this magic match
getVersion()
- Method in interface net.sf.jmimemagic.
MagicDetector
DOCUMENT ME!
getVersion()
- Method in class net.sf.jmimemagic.detectors.
TextFileDetector
DOCUMENT ME!
I
ignorableWhitespace(char[], int, int)
- Method in class net.sf.jmimemagic.
MagicParser
DOCUMENT ME!
initialize()
- Static method in class net.sf.jmimemagic.
Magic
create a parser and initialize it
initialize()
- Method in class net.sf.jmimemagic.
MagicParser
parse the xml file and create our MagicMatcher object list
isValid()
- Method in class net.sf.jmimemagic.
MagicMatcher
test to see if everything is in order for this match
M
Magic
- class net.sf.jmimemagic.
Magic
.
This class is the primary class for jMimeMagic
Magic()
- Constructor for class net.sf.jmimemagic.
Magic
constructor
MagicDetector
- interface net.sf.jmimemagic.
MagicDetector
.
DOCUMENT ME!
MagicException
- exception net.sf.jmimemagic.
MagicException
.
Basic JMimeMagic parse exception.
MagicException()
- Constructor for class net.sf.jmimemagic.
MagicException
Default constructor
MagicException(String)
- Constructor for class net.sf.jmimemagic.
MagicException
Create exception with error message
MagicException(Throwable)
- Constructor for class net.sf.jmimemagic.
MagicException
Create exception based on an existing Throwable
MagicException(String, Throwable)
- Constructor for class net.sf.jmimemagic.
MagicException
Create an exception with custom message and throwable info
MagicMatch
- class net.sf.jmimemagic.
MagicMatch
.
This class represents a single match test
MagicMatch()
- Constructor for class net.sf.jmimemagic.
MagicMatch
constructor
MagicMatchNotFoundException
- exception net.sf.jmimemagic.
MagicMatchNotFoundException
.
Basic JMimeMagic parse exception.
MagicMatchNotFoundException()
- Constructor for class net.sf.jmimemagic.
MagicMatchNotFoundException
constructor
MagicMatchNotFoundException(String)
- Constructor for class net.sf.jmimemagic.
MagicMatchNotFoundException
Create exception with error message
MagicMatchNotFoundException(Throwable)
- Constructor for class net.sf.jmimemagic.
MagicMatchNotFoundException
Create exception based on an existing Throwable
MagicMatchNotFoundException(String, Throwable)
- Constructor for class net.sf.jmimemagic.
MagicMatchNotFoundException
Create an exception with custom message and throwable info
MagicMatcher
- class net.sf.jmimemagic.
MagicMatcher
.
This class represents a single match test
MagicMatcher()
- Constructor for class net.sf.jmimemagic.
MagicMatcher
constructor
MagicParseException
- exception net.sf.jmimemagic.
MagicParseException
.
Basic JMimeMagic parse exception.
MagicParseException()
- Constructor for class net.sf.jmimemagic.
MagicParseException
Default constructor
MagicParseException(String)
- Constructor for class net.sf.jmimemagic.
MagicParseException
Create exception with error message
MagicParseException(Throwable)
- Constructor for class net.sf.jmimemagic.
MagicParseException
Create exception based on an existing Throwable
MagicParseException(String, Throwable)
- Constructor for class net.sf.jmimemagic.
MagicParseException
Create an exception with custom message and throwable info
MagicParser
- class net.sf.jmimemagic.
MagicParser
.
DOCUMENT ME!
MagicParser()
- Constructor for class net.sf.jmimemagic.
MagicParser
constructor
main(String[])
- Static method in class net.sf.jmimemagic.
Magic
DOCUMENT ME!
mimeTypeMatches(String)
- Method in class net.sf.jmimemagic.
MagicMatch
determine if this match or any submatches has the description
N
NAMESPACES_FEATURE_ID
- Static variable in class net.sf.jmimemagic.
MagicParser
net.sf.jmimemagic
- package net.sf.jmimemagic
net.sf.jmimemagic.detectors
- package net.sf.jmimemagic.detectors
P
print()
- Method in class net.sf.jmimemagic.
MagicMatch
print information about this match
printMagicFile(PrintStream)
- Static method in class net.sf.jmimemagic.
Magic
print the contents of a magic file
printMagicMatch(PrintStream, MagicMatch, String)
- Static method in class net.sf.jmimemagic.
Magic
print a magic match
process(byte[], int, int, long, char, String, Map)
- Method in interface net.sf.jmimemagic.
MagicDetector
DOCUMENT ME!
process(File, int, int, long, char, String, Map)
- Method in interface net.sf.jmimemagic.
MagicDetector
DOCUMENT ME!
process(byte[], int, int, long, char, String, Map)
- Method in class net.sf.jmimemagic.detectors.
TextFileDetector
DOCUMENT ME!
process(File, int, int, long, char, String, Map)
- Method in class net.sf.jmimemagic.detectors.
TextFileDetector
DOCUMENT ME!
processingInstruction(String, String)
- Method in class net.sf.jmimemagic.
MagicParser
DOCUMENT ME!
S
SCHEMA_FULL_CHECKING_FEATURE_ID
- Static variable in class net.sf.jmimemagic.
MagicParser
SCHEMA_VALIDATION_FEATURE_ID
- Static variable in class net.sf.jmimemagic.
MagicParser
setBitmask(String)
- Method in class net.sf.jmimemagic.
MagicMatch
set the bitmask that will be applied for this magic match
setComparator(String)
- Method in class net.sf.jmimemagic.
MagicMatch
set the comparator for this magic match
setDescription(String)
- Method in class net.sf.jmimemagic.
MagicMatch
set the description for this magic match
setExtension(String)
- Method in class net.sf.jmimemagic.
MagicMatch
set the extension for this magic match
setLength(int)
- Method in class net.sf.jmimemagic.
MagicMatch
set the length we are restricting the comparison to for this magic match
setMatch(MagicMatch)
- Method in class net.sf.jmimemagic.
MagicMatcher
DOCUMENT ME!
setMimeType(String)
- Method in class net.sf.jmimemagic.
MagicMatch
set the mime type for this magic match
setOffset(int)
- Method in class net.sf.jmimemagic.
MagicMatch
set the offset in the stream we are comparing to the test value for this magic match
setProperties(Map)
- Method in class net.sf.jmimemagic.
MagicMatch
set the properties for this magic match
setSubMatchers(Collection)
- Method in class net.sf.jmimemagic.
MagicMatcher
set all submatches
setSubMatches(Collection)
- Method in class net.sf.jmimemagic.
MagicMatch
set all submatches
setTest(ByteBuffer)
- Method in class net.sf.jmimemagic.
MagicMatch
set the test value for thie magic match
setType(String)
- Method in class net.sf.jmimemagic.
MagicMatch
set the type of match to perform for this magic match
startDocument()
- Method in class net.sf.jmimemagic.
MagicParser
DOCUMENT ME!
startElement(String, String, String, Attributes)
- Method in class net.sf.jmimemagic.
MagicParser
DOCUMENT ME!
T
TextFileDetector
- class net.sf.jmimemagic.detectors.
TextFileDetector
.
DOCUMENT ME!
TextFileDetector()
- Constructor for class net.sf.jmimemagic.detectors.
TextFileDetector
Creates a new TextFileDetector object.
test(File, boolean)
- Method in class net.sf.jmimemagic.
MagicMatcher
test to see if this match or any submatches match
test(byte[], boolean)
- Method in class net.sf.jmimemagic.
MagicMatcher
test to see if this match or any submatches match
U
UnsupportedTypeException
- exception net.sf.jmimemagic.
UnsupportedTypeException
.
JMimeMagic unsupported test type exception.
UnsupportedTypeException()
- Constructor for class net.sf.jmimemagic.
UnsupportedTypeException
Default constructor
UnsupportedTypeException(String)
- Constructor for class net.sf.jmimemagic.
UnsupportedTypeException
Create exception with error message
UnsupportedTypeException(Throwable)
- Constructor for class net.sf.jmimemagic.
UnsupportedTypeException
Create exception based on an existing Throwable
UnsupportedTypeException(String, Throwable)
- Constructor for class net.sf.jmimemagic.
UnsupportedTypeException
Create an exception with custom message and throwable info
V
VALIDATION_FEATURE_ID
- Static variable in class net.sf.jmimemagic.
MagicParser
W
warning(SAXParseException)
- Method in class net.sf.jmimemagic.
MagicParser
DOCUMENT ME!
A
C
D
E
F
G
I
M
N
P
S
T
U
V
W
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2003-2006 none. All Rights Reserved.