You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Florent Angebault (JIRA)" <ji...@apache.org> on 2014/08/19 13:19:19 UTC

[jira] [Created] (TIKA-1399) [Patch] add support for AxCrypt file type detection

Florent Angebault created TIKA-1399:
---------------------------------------

             Summary: [Patch] add support for AxCrypt file type detection
                 Key: TIKA-1399
                 URL: https://issues.apache.org/jira/browse/TIKA-1399
             Project: Tika
          Issue Type: Improvement
          Components: detector, mime
    Affects Versions: 1.5, 1.4, 1.3
            Reporter: Florent Angebault


Please include the following mime declaration in {{tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml}}.
It makes possible to detect AxCrypt file type with extension {{*.axx}}.

{code}
<mime-info>
	<mime-type type="application/x-axcrypt">
		<glob pattern="*.axx" />
		<magic priority="50">
			<match value="\xc0\xb9\x07\x2e\x4f\x93\xf1\x46\xa0\x15\x79\x2c\xa1\xd9\xe8\x21\x15\x00\x00\x00\x02" type="string" offset="0" />
		</magic>
	</mime-type>
</mime-info>
{code}

The magic value is taken from the Aperture project:
http://sourceforge.net/p/aperture/code/2493/tree/aperture/trunk/core/src/main/resources/org/semanticdesktop/aperture/mime/identifier/magic/mimetypes.xml#l1225



--
This message was sent by Atlassian JIRA
(v6.2#6252)