SYMBOL INDEX (158 symbols across 13 files) FILE: src/main/java/net/sf/jmimemagic/Magic.java class Magic (line 28) | public class Magic method Magic (line 38) | public Magic() method addHint (line 49) | private static void addHint(String extension, MagicMatcher matcher) method initialize (line 66) | public static synchronized void initialize() method getMatchers (line 114) | public static Collection getMatchers() method getMagicMatch (line 151) | public static MagicMatch getMagicMatch(byte[] data) method getMagicMatch (line 169) | public static MagicMatch getMagicMatch(byte[] data, boolean onlyMimeMa... method getMagicMatch (line 221) | public static MagicMatch getMagicMatch(File file, boolean extensionHints) method getMagicMatch (line 240) | public static MagicMatch getMagicMatch(File file, boolean extensionHin... method printMagicFile (line 362) | public static void printMagicFile(PrintStream stream) method printMagicMatcher (line 389) | private static void printMagicMatcher(PrintStream stream, MagicMatcher... method printMagicMatch (line 409) | public static void printMagicMatch(PrintStream stream, MagicMatch matc... method main (line 436) | public static void main(String[] args) FILE: src/main/java/net/sf/jmimemagic/MagicDetector.java type MagicDetector (line 18) | public interface MagicDetector method getName (line 26) | public String getName(); method getDisplayName (line 34) | public String getDisplayName(); method getVersion (line 42) | public String getVersion(); method getHandledTypes (line 50) | public String[] getHandledTypes(); method getHandledExtensions (line 58) | public String[] getHandledExtensions(); method process (line 74) | public String[] process(byte[] data, int offset, int length, long bitm... method process (line 91) | public String[] process(File file, int offset, int length, long bitmas... FILE: src/main/java/net/sf/jmimemagic/MagicException.java class MagicException (line 14) | public class MagicException extends Exception method MagicException (line 19) | public MagicException() method MagicException (line 29) | public MagicException(String message) method MagicException (line 39) | public MagicException(Throwable cause) method MagicException (line 50) | public MagicException(String message, Throwable cause) FILE: src/main/java/net/sf/jmimemagic/MagicMatch.java class MagicMatch (line 26) | public class MagicMatch implements Cloneable method MagicMatch (line 48) | public MagicMatch() method print (line 58) | public String print() method setMimeType (line 80) | public void setMimeType(String value) method getMimeType (line 90) | public String getMimeType() method setExtension (line 100) | public void setExtension(String value) method getExtension (line 110) | public String getExtension() method setDescription (line 120) | public void setDescription(String value) method getDescription (line 130) | public String getDescription() method setTest (line 140) | public void setTest(ByteBuffer value) method getTest (line 150) | public ByteBuffer getTest() method setOffset (line 160) | public void setOffset(int value) method getOffset (line 170) | public int getOffset() method setLength (line 180) | public void setLength(int value) method getLength (line 190) | public int getLength() method setType (line 200) | public void setType(String value) method getType (line 210) | public String getType() method setBitmask (line 220) | public void setBitmask(String value) method getBitmask (line 232) | public long getBitmask() method setComparator (line 242) | public void setComparator(String value) method getComparator (line 252) | public char getComparator() method setProperties (line 262) | public void setProperties(Map properties) method getProperties (line 272) | public Map getProperties() method addSubMatch (line 282) | public void addSubMatch(MagicMatch m) method setSubMatches (line 293) | public void setSubMatches(Collection a) method getSubMatches (line 305) | public Collection getSubMatches() method descriptionMatches (line 317) | public boolean descriptionMatches(String desc) method mimeTypeMatches (line 345) | public boolean mimeTypeMatches(String desc) method clone (line 373) | protected Object clone() FILE: src/main/java/net/sf/jmimemagic/MagicMatchNotFoundException.java class MagicMatchNotFoundException (line 14) | public class MagicMatchNotFoundException extends Exception method MagicMatchNotFoundException (line 19) | public MagicMatchNotFoundException() method MagicMatchNotFoundException (line 29) | public MagicMatchNotFoundException(String message) method MagicMatchNotFoundException (line 39) | public MagicMatchNotFoundException(Throwable cause) method MagicMatchNotFoundException (line 50) | public MagicMatchNotFoundException(String message, Throwable cause) FILE: src/main/java/net/sf/jmimemagic/MagicMatcher.java class MagicMatcher (line 30) | public class MagicMatcher implements Cloneable method MagicMatcher (line 39) | public MagicMatcher() method setMatch (line 49) | public void setMatch(MagicMatch match) method getMatch (line 60) | public MagicMatch getMatch() method isValid (line 72) | public boolean isValid() method addSubMatcher (line 100) | public void addSubMatcher(MagicMatcher m) method setSubMatchers (line 111) | public void setSubMatchers(Collection a) method getSubMatchers (line 123) | public Collection getSubMatchers() method test (line 141) | public MagicMatch test(File f, boolean onlyMimeMatch) method test (line 274) | public MagicMatch test(byte[] data, boolean onlyMimeMatch) method testInternal (line 375) | private boolean testInternal(byte[] data) method testByte (line 458) | private boolean testByte(ByteBuffer data) method testString (line 501) | private boolean testString(ByteBuffer data) method testShort (line 549) | private boolean testShort(ByteBuffer data) method testLong (line 604) | private boolean testLong(ByteBuffer data) method testRegex (line 647) | private boolean testRegex(String text) method testDetector (line 680) | private boolean testDetector(ByteBuffer data) method getDetectorExtensions (line 717) | public String[] getDetectorExtensions() method byteToOctalString (line 748) | private String byteToOctalString(byte b) method byteArrayToShort (line 767) | private short byteArrayToShort(ByteBuffer data) method byteArrayToLong (line 779) | private long byteArrayToLong(ByteBuffer data) method clone (line 791) | protected MagicMatcher clone() FILE: src/main/java/net/sf/jmimemagic/MagicParseException.java class MagicParseException (line 14) | public class MagicParseException extends Exception method MagicParseException (line 19) | public MagicParseException() method MagicParseException (line 29) | public MagicParseException(String message) method MagicParseException (line 39) | public MagicParseException(Throwable cause) method MagicParseException (line 50) | public MagicParseException(String message, Throwable cause) FILE: src/main/java/net/sf/jmimemagic/MagicParser.java class MagicParser (line 38) | public class MagicParser extends DefaultHandler implements ContentHandle... method MagicParser (line 85) | public MagicParser() method initialize (line 95) | public synchronized void initialize() method getMatchers (line 181) | public Collection getMatchers() method startDocument (line 191) | public void startDocument() method endDocument (line 202) | public void endDocument() method processingInstruction (line 216) | public void processingInstruction(String target, String data) method characters (line 231) | public void characters(char[] ch, int offset, int length) method ignorableWhitespace (line 249) | public void ignorableWhitespace(char[] ch, int offset, int length) method startElement (line 265) | public void startElement(String uri, String localName, String qname, A... method endElement (line 378) | public void endElement(String uri, String localName, String qname) method warning (line 462) | public void warning(SAXParseException ex) method error (line 475) | public void error(SAXParseException ex) method fatalError (line 489) | public void fatalError(SAXParseException ex) method convertOctals (line 503) | private ByteBuffer convertOctals(String s) FILE: src/main/java/net/sf/jmimemagic/UnsupportedTypeException.java class UnsupportedTypeException (line 14) | public class UnsupportedTypeException extends Exception method UnsupportedTypeException (line 19) | public UnsupportedTypeException() method UnsupportedTypeException (line 29) | public UnsupportedTypeException(String message) method UnsupportedTypeException (line 39) | public UnsupportedTypeException(Throwable cause) method UnsupportedTypeException (line 50) | public UnsupportedTypeException(String message, Throwable cause) FILE: src/main/java/net/sf/jmimemagic/detectors/TextFileDetector.java class TextFileDetector (line 27) | public class TextFileDetector implements MagicDetector method TextFileDetector (line 34) | public TextFileDetector() method getDisplayName (line 44) | public String getDisplayName() method getVersion (line 54) | public String getVersion() method getHandledExtensions (line 64) | public String[] getHandledExtensions() method getHandledTypes (line 74) | public String[] getHandledTypes() method getName (line 84) | public String getName() method process (line 102) | public String[] process(byte[] data, int offset, int length, long bitm... method process (line 145) | public String[] process(File file, int offset, int length, long bitmas... FILE: src/test/java/net/sf/jmimemagic/MagicTest.java class MagicTest (line 6) | public class MagicTest extends TestCase { method main (line 32) | public static void main(String args[]) { method testGIF (line 38) | public void testGIF() { method testPNG (line 58) | public void testPNG() { method testTIF (line 78) | public void testTIF() { method testJPEG (line 98) | public void testJPEG() { method testText (line 120) | public void testText() { method testOfficeOpenXmlDocument (line 140) | public void testOfficeOpenXmlDocument() { method testOfficeOpenXmlDocument2 (line 160) | public void testOfficeOpenXmlDocument2() { method testWord2K (line 180) | public void testWord2K() { method testWord95 (line 200) | public void testWord95() { method testRTF (line 220) | public void testRTF() { method testOfficeOpenXmlWorkbook (line 240) | public void testOfficeOpenXmlWorkbook() { method testOfficeOpenXmlWorkbook2 (line 260) | public void testOfficeOpenXmlWorkbook2() { method testExcel2K (line 280) | public void testExcel2K() { method testOfficeOpenXmlPresentation (line 301) | public void testOfficeOpenXmlPresentation() { method testOfficeOpenXmlPresentation2 (line 321) | public void testOfficeOpenXmlPresentation2() { method testPDF (line 343) | public void testPDF() { method testPostscript (line 363) | public void testPostscript() { method testJavaClass12 (line 383) | public void testJavaClass12() { method testJavaClass13 (line 403) | public void testJavaClass13() { method testJavaClass14 (line 423) | public void testJavaClass14() { method testMP3 (line 443) | public void testMP3() { method testWave (line 463) | public void testWave() { method testOdt (line 485) | public void testOdt(){ method testZip (line 506) | public void testZip(){ method testSubMatches (line 527) | public void testSubMatches(){ FILE: test_docs/test.java class test (line 1) | public class test { method main (line 2) | public static void main(String[] args) { FILE: test_docs/test.py function makepath (line 68) | def makepath(*paths): function _init_pathinfo (line 105) | def _init_pathinfo(): function addsitedir (line 114) | def addsitedir(sitedir): function addpackage (line 135) | def addpackage(sitedir, name): class _Printer (line 216) | class _Printer: method __init__ (line 219) | def __init__(self, name, data, files=(), dirs=()): method __setup (line 226) | def __setup(self): method __repr__ (line 247) | def __repr__(self): method __call__ (line 254) | def __call__(self): class _Helper (line 293) | class _Helper: method __repr__ (line 294) | def __repr__(self): method __call__ (line 297) | def __call__(self, *args, **kwds): function _test (line 358) | def _test():