monkmachine commented on code in PR #558:
URL: https://github.com/apache/tika/pull/558#discussion_r871668341
##########
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:
I'm pretty sure DWGRead takes all the versions the current reader does, it
only accepts the same mime type as the original DWGParser which is why I've
left it here.
--
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]