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/28010d90
Tree: http://git-wip-us.apache.org/repos/asf/tika/tree/28010d90
Diff: http://git-wip-us.apache.org/repos/asf/tika/diff/28010d90

Branch: refs/heads/2.x
Commit: 28010d90d0b67108754f7a249514a0f59859484d
Parents: 534a525
Author: Nick Burch <[email protected]>
Authored: Thu Nov 10 18:14:55 2016 +0000
Committer: Nick Burch <[email protected]>
Committed: Mon Jan 30 09:00:58 2017 +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/28010d90/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 6b052c5..14472f9 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
@@ -3864,6 +3864,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">

Reply via email to