Package org.apache.tika.parser.dwg
Class DWGParser
java.lang.Object
org.apache.tika.parser.AbstractParser
org.apache.tika.parser.dwg.AbstractDWGParser
org.apache.tika.parser.dwg.DWGParser
- All Implemented Interfaces:
Serializable,org.apache.tika.parser.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:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSet<org.apache.tika.mime.MediaType>getSupportedTypes(org.apache.tika.parser.ParseContext context) voidparse(InputStream stream, ContentHandler handler, org.apache.tika.metadata.Metadata metadata, org.apache.tika.parser.ParseContext context) Methods inherited from class org.apache.tika.parser.dwg.AbstractDWGParser
configure, getCleanDwgReadOutputBatchSize, getCleanDwgReadRegexToReplace, getCleanDwgReadReplaceWith, getDwgReadExecutable, getDwgReadTimeout, isCleanDwgReadOutput, setCleanDwgReadOutput, setCleanDwgReadOutputBatchSize, setCleanDwgReadRegexToReplace, setCleanDwgReadReplaceWith, setDwgReadExecutable, setDwgReadTimeoutMethods inherited from class org.apache.tika.parser.AbstractParser
parse
-
Field Details
-
DWG_CUSTOM_META_PREFIX
-
-
Constructor Details
-
DWGParser
public DWGParser()
-
-
Method Details
-
getSupportedTypes
public Set<org.apache.tika.mime.MediaType> getSupportedTypes(org.apache.tika.parser.ParseContext context) -
parse
public void parse(InputStream stream, ContentHandler handler, org.apache.tika.metadata.Metadata metadata, org.apache.tika.parser.ParseContext context) throws IOException, org.apache.tika.exception.TikaException, SAXException - Throws:
IOExceptionorg.apache.tika.exception.TikaExceptionSAXException
-