org.apache.tika.parser.dwg
Class DWGParser
java.lang.Object
org.apache.tika.parser.dwg.DWGParser
- All Implemented Interfaces:
- java.io.Serializable, Parser
public class DWGParser
- extends java.lang.Object
- implements Parser
DWG (CAD Drawing) parser. This is a very basic parser, which just
looks for bits of the headers.
Note that we use Apache POI for various parts of the processing, as
lots of the low level string/int/short concepts are the same.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DWGParser
public DWGParser()
getSupportedTypes
public java.util.Set<MediaType> getSupportedTypes(ParseContext context)
- Specified by:
getSupportedTypes in interface Parser
parse
public void parse(java.io.InputStream stream,
org.xml.sax.ContentHandler handler,
Metadata metadata,
ParseContext context)
throws java.io.IOException,
TikaException,
org.xml.sax.SAXException
- Specified by:
parse in interface Parser
- Throws:
java.io.IOException
TikaException
org.xml.sax.SAXException
parse
public void parse(java.io.InputStream stream,
org.xml.sax.ContentHandler handler,
Metadata metadata)
throws java.io.IOException,
org.xml.sax.SAXException,
TikaException
- Specified by:
parse in interface Parser
- Throws:
java.io.IOException
org.xml.sax.SAXException
TikaException
Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.