[
https://issues.apache.org/jira/browse/TIKA-2309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15945266#comment-15945266
]
ASF GitHub Bot commented on TIKA-2309:
--------------------------------------
GitHub user Shinobi75 opened a pull request:
https://github.com/apache/tika/pull/161
fix for TIKA-2309 contributed by Shinobi@75
Hello,
this is the pull requeste for JIRA Issue or Enhancement marked with
TIKA-2309.
I've added follows new classes:
tika-core/src/main/java/org/apache/tika/detect/TSDDetector.java
tika-parsers/src/main/java/org/apache/tika/parser/crypto/TSDParser.java
tika-parsers/src/test/java/org/apache/tika/parser/crypto/TSDParserTest.java
and follows new files:
tika-core/src/main/resources/org/apache/tika/mime/custom-mimetypes.xml
tika-parsers/src/test/resources/test-documents/MANIFEST.XML.TSD
and I've also modified follows files:
tika-core/pom.xml
tika-parsers/src/main/resources/META-INF/services/org.apache.tika.detect.Detector
tika-parsers/src/main/resources/META-INF/services/org.apache.tika.parser.Parser
Thank you very much,
best regardes.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Shinobi75/tika TIKA-2309
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tika/pull/161.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #161
----
commit 8496a081e592849ded45c335ed33209a38f96e2e
Author: Fabio Evangelista <[email protected]>
Date: 2017-03-28T14:15:11Z
fix for TIKA-2309 contributed by Shinobi@75
----
> New Detector and Parser classes for Time Stamped Data Envelope file format
> --------------------------------------------------------------------------
>
> Key: TIKA-2309
> URL: https://issues.apache.org/jira/browse/TIKA-2309
> Project: Tika
> Issue Type: Improvement
> Components: detector, parser
> Affects Versions: 1.13, 1.14
> Reporter: Fabio
> Priority: Minor
> Attachments: MANIFEST.XML.TSD
>
>
> Hello,
> I'm Fabio Evangelista from Rome. I'm working for an italian Public
> Administration company and i'm using Apache Tika in my Java applications to
> detect and parse a broad kinds of file formats. During that activity, after
> following your good guide on Tika project page, I've made with success new
> type of Detector and Parser classes for a particular crypto timestamp type
> with these caracteristics:
> Format name: Time Stamped Data Envelope
> Mime Type: application/timestamped-data
> File extension: .tsd
> TSD file hax magic code at the start of the file: 30 80 06 0B 2A 86 48 86 F7
> I've integrated and tested successfully with my applications those new
> classes in Tika 1.13 tika-core.jar and tika-parsers.jar. What should I do to
> submit my new classes to you? Should I to push those in a particular git
> branch or, is there a particular process to follow to submit my classes?
> Thank you for you patience and best regards.
> Fabio.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)