tballison commented on code in PR #558:
URL: https://github.com/apache/tika/pull/558#discussion_r871686962
##########
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-cad-module/src/main/java/org/apache/tika/parser/dwg/DWGParser.java:
##########
@@ -94,6 +93,14 @@ public Set<MediaType> getSupportedTypes(ParseContext
context) {
public void parse(InputStream stream, ContentHandler handler, Metadata
metadata,
ParseContext context) throws IOException, TikaException,
SAXException {
+
+ configure(context);
+ DWGParserConfig dwgc = context.get(DWGParserConfig.class);
+
+if(!dwgc.getDwgReadExecutable().isEmpty()) {
Review Comment:
K. So the logic is if dwgread is available, we'll skip our current code?
Sounds good!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]