Class DWGParser

All Implemented Interfaces:
Serializable, org.apache.tika.parser.Parser

public class DWGParser extends AbstractDWGParser
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 Details

    • DWG_CUSTOM_META_PREFIX

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