Package org.apache.tika.parser.prt
Class PRTParser
- java.lang.Object
-
- org.apache.tika.parser.AbstractParser
-
- org.apache.tika.parser.prt.PRTParser
-
- All Implemented Interfaces:
Serializable,org.apache.tika.parser.Parser
public class PRTParser extends org.apache.tika.parser.AbstractParserA basic text extracting parser for the CADKey PRT (CAD Drawing) format. It outputs text from note entries.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringPRT_MIME_TYPE
-
Constructor Summary
Constructors Constructor Description PRTParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<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)
-
-
-
Field Detail
-
PRT_MIME_TYPE
public static final String PRT_MIME_TYPE
- See Also:
- Constant Field Values
-
-
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, SAXException, org.apache.tika.exception.TikaException
- Throws:
IOExceptionSAXExceptionorg.apache.tika.exception.TikaException
-
-