You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by ni...@apache.org on 2016/11/10 18:15:51 UTC

tika git commit: Mimetype for SAS Xport (XPT) files

Repository: tika
Updated Branches:
  refs/heads/master 2e325cb71 -> d647a2347


Mimetype for SAS Xport (XPT) files


Project: http://git-wip-us.apache.org/repos/asf/tika/repo
Commit: http://git-wip-us.apache.org/repos/asf/tika/commit/d647a234
Tree: http://git-wip-us.apache.org/repos/asf/tika/tree/d647a234
Diff: http://git-wip-us.apache.org/repos/asf/tika/diff/d647a234

Branch: refs/heads/master
Commit: d647a234783bbc3f83d3691a1e1d5788c438d55d
Parents: 2e325cb
Author: Nick Burch <ni...@gagravarr.org>
Authored: Thu Nov 10 18:14:55 2016 +0000
Committer: Nick Burch <ni...@gagravarr.org>
Committed: Thu Nov 10 18:14:55 2016 +0000

----------------------------------------------------------------------
 .../main/resources/org/apache/tika/mime/tika-mimetypes.xml   | 8 ++++++++
 1 file changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tika/blob/d647a234/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
----------------------------------------------------------------------
diff --git a/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml b/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
index 11c5f40..fffb9bb 100644
--- a/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
+++ b/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
@@ -3837,6 +3837,14 @@
     <_comment>SAS Backup</_comment>
     <glob pattern="*.sas7bbak"/>
   </mime-type>
+  <mime-type type="application/x-sas-xport">
+    <_comment>SAS XPORT Transfer File</_comment>
+    <glob pattern="*.xpt"/>
+    <glob pattern="*.xport"/>
+    <magic priority="40">
+      <match value="HEADER RECORD*******LIBRARY HEADER RECORD!!!!!!!" offset="0" />
+    </magic>
+  </mime-type>
 
   <mime-type type="application/x-sc">
     <magic priority="50">