This is an automated email from the ASF dual-hosted git repository.

nick pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tika.git


The following commit(s) were added to refs/heads/master by this push:
     new 856cf35  Add explicit constructors to the ENVI parser, to allow config 
dump/load to work
856cf35 is described below

commit 856cf35adf1e2ee5e03022b6e0347d0c6a5fd766
Author: Nick Burch <[email protected]>
AuthorDate: Fri May 4 11:03:55 2018 +0100

    Add explicit constructors to the ENVI parser, to allow config dump/load to 
work
---
 .../main/java/org/apache/tika/parser/envi/EnviHeaderParser.java   | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git 
a/tika-parsers/src/main/java/org/apache/tika/parser/envi/EnviHeaderParser.java 
b/tika-parsers/src/main/java/org/apache/tika/parser/envi/EnviHeaderParser.java
index aa5c434..6884a7e 100644
--- 
a/tika-parsers/src/main/java/org/apache/tika/parser/envi/EnviHeaderParser.java
+++ 
b/tika-parsers/src/main/java/org/apache/tika/parser/envi/EnviHeaderParser.java
@@ -28,6 +28,7 @@ import java.util.Set;
 import org.apache.commons.io.input.CloseShieldInputStream;
 import org.apache.tika.config.TikaConfig;
 import org.apache.tika.detect.AutoDetectReader;
+import org.apache.tika.detect.EncodingDetector;
 import org.apache.tika.exception.TikaException;
 import org.apache.tika.metadata.Metadata;
 import org.apache.tika.mime.MediaType;
@@ -54,6 +55,13 @@ public class EnviHeaderParser extends 
AbstractEncodingDetectorParser {
 
     private transient XHTMLContentHandler xhtml;
 
+    public EnviHeaderParser() {
+        super();
+    }
+    public EnviHeaderParser(EncodingDetector encodingDetector) {
+        super(encodingDetector);
+    }
+
     @Override
     public Set<MediaType> getSupportedTypes(ParseContext context) {
         return SUPPORTED_TYPES;

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to