org.apache.tika.parser.dwg
Class DWGParser

java.lang.Object
  extended by org.apache.tika.parser.AbstractParser
      extended by org.apache.tika.parser.dwg.DWGParser
All Implemented Interfaces:
Serializable, org.apache.tika.parser.Parser

public class DWGParser
extends org.apache.tika.parser.AbstractParser

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

Constructor Summary
DWGParser()
           
 
Method Summary
 Set<org.apache.tika.mime.MediaType> getSupportedTypes(org.apache.tika.parser.ParseContext context)
           
 void parse(InputStream stream, ContentHandler handler, org.apache.tika.metadata.Metadata metadata, org.apache.tika.parser.ParseContext context)
           
 
Methods inherited from class org.apache.tika.parser.AbstractParser
parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DWGParser

public DWGParser()
Method Detail

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:
IOException
org.apache.tika.exception.TikaException
SAXException


Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.