Author: nick
Date: Mon Mar 9 18:56:18 2015
New Revision: 1665325
URL: http://svn.apache.org/r1665325
Log:
TIKA-1569 Fix a long-standing typo
Modified:
tika/site/publish/0.10/detection.html
tika/site/publish/0.7/detection.html
tika/site/publish/0.8/detection.html
tika/site/publish/0.9/detection.html
tika/site/publish/1.0/detection.html
tika/site/publish/1.1/detection.html
tika/site/publish/1.2/detection.html
tika/site/publish/1.3/detection.html
tika/site/publish/1.4/detection.html
tika/site/publish/1.5/detection.html
tika/site/publish/1.6/detection.html
tika/site/publish/1.7/detection.html
tika/site/publish/1.7/examples.html
Modified: tika/site/publish/0.10/detection.html
URL:
http://svn.apache.org/viewvc/tika/site/publish/0.10/detection.html?rev=1665325&r1=1665324&r2=1665325&view=diff
==============================================================================
--- tika/site/publish/0.10/detection.html (original)
+++ tika/site/publish/0.10/detection.html Mon Mar 9 18:56:18 2015
@@ -91,7 +91,7 @@
<li><a href="#Content_Detection">Content Detection</a>
<ul>
<li><a href="#The_Detector_Interface">The Detector Interface</a></li>
-<li><a href="#Mime_Magic_Detction">Mime Magic Detction</a></li>
+<li><a href="#Mime_Magic_Detection">Mime Magic Detection</a></li>
<li><a href="#Resource_Name_Based_Detection">Resource Name Based
Detection</a></li>
<li><a href="#Known_Content_Type_Detection">Known Content Type
"Detection</a></li>
<li><a href="#The_default_Mime_Types_Detector">The default Mime Types
Detector</a></li>
@@ -106,7 +106,7 @@
<p>The <tt>detect</tt> method takes the stream to inspect, and a
<tt>Metadata</tt> object that holds any additional information on the content.
The detector will return a <a
href="./api/org/apache/tika/mime/MediaType.html">MediaType</a> object
describing its best guess as to the type of the file.</p>
<p>In general, only two keys on the Metadata object are used by Detectors.
These are <tt>Metadata.RESOURCE_NAME_KEY</tt> which should hold the name of the
file (where known), and <tt>Metadata.CONTENT_TYPE</tt> which should hold the
advertised content type of the file (eg from a webserver or a content
repository).</p></div>
<div class="section">
-<h3><a name="Mime_Magic_Detction">Mime Magic Detction</a></h3>
+<h3><a name="Mime_Magic_Detection">Mime Magic Detection</a></h3>
<p>By looking for special ("magic") patterns of bytes near the start
of the file, it is often possible to detect the type of the file. For some file
types, this is a simple process. For others, typically container based formats,
the magic detection may not be enough. (More detail on detecting container
formats below)</p>
<p>Tika is able to make use of a a mime magic info file, in the <a
class="externalLink"
href="http://www.freedesktop.org/standards/shared-mime-info">Freedesktop
MIME-info</a> format to peform mime magic detection.</p>
<p>This is provided within Tika by <a
href="./api/org/apache/tika/detect/MagicDetector.html">org.apache.tika.detect.MagicDetector</a>.
It is most commonly access via <a
href="./api/org/apache/tika/mime/MimeTypes.html">org.apache.tika.mime.MimeTypes</a>,
normally sourced from the <tt>tika-mimetypes.xml</tt> file.</p></div>
Modified: tika/site/publish/0.7/detection.html
URL:
http://svn.apache.org/viewvc/tika/site/publish/0.7/detection.html?rev=1665325&r1=1665324&r2=1665325&view=diff
==============================================================================
--- tika/site/publish/0.7/detection.html (original)
+++ tika/site/publish/0.7/detection.html Mon Mar 9 18:56:18 2015
@@ -91,7 +91,7 @@
<li><a href="#Content_Detection">Content Detection</a>
<ul>
<li><a href="#The_Detector_Interface">The Detector Interface</a></li>
-<li><a href="#Mime_Magic_Detction">Mime Magic Detction</a></li>
+<li><a href="#Mime_Magic_Detection">Mime Magic Detection</a></li>
<li><a href="#Resource_Name_Based_Detection">Resource Name Based
Detection</a></li>
<li><a href="#Known_Content_Type_Detection">Known Content Type
"Detection</a></li>
<li><a href="#The_default_Mime_Types_Detector">The default Mime Types
Detector</a></li>
@@ -106,7 +106,7 @@
<p>The <tt>detect</tt> method takes the stream to inspect, and a
<tt>Metadata</tt> object that holds any additional information on the content.
The detector will return a <a
href="./api/org/apache/tika/mime/MediaType.html">MediaType</a> object
describing its best guess as to the type of the file.</p>
<p>In general, only two keys on the Metadata object are used by Detectors.
These are <tt>Metadata.RESOURCE_NAME_KEY</tt> which should hold the name of the
file (where known), and <tt>Metadata.CONTENT_TYPE</tt> which should hold the
advertised content type of the file (eg from a webserver or a content
repository).</p></div>
<div class="section">
-<h3><a name="Mime_Magic_Detction">Mime Magic Detction</a></h3>
+<h3><a name="Mime_Magic_Detection">Mime Magic Detection</a></h3>
<p>By looking for special ("magic") patterns of bytes near the start
of the file, it is often possible to detect the type of the file. For some file
types, this is a simple process. For others, typically container based formats,
the magic detection may not be enough. (More detail on detecting container
formats below)</p>
<p>Tika is able to make use of a a mime magic info file, in the <a
class="externalLink"
href="http://www.freedesktop.org/standards/shared-mime-info">Freedesktop
MIME-info</a> format to peform mime magic detection.</p>
<p>This is provided within Tika by <a
href="./api/org/apache/tika/detect/MagicDetector.html">org.apache.tika.detect.MagicDetector</a>.
It is most commonly access via <a
href="./api/org/apache/tika/mime/MimeTypes.html">org.apache.tika.mime.MimeTypes</a>,
normally sourced from the <tt>tika-mimetypes.xml</tt> file.</p></div>
Modified: tika/site/publish/0.8/detection.html
URL:
http://svn.apache.org/viewvc/tika/site/publish/0.8/detection.html?rev=1665325&r1=1665324&r2=1665325&view=diff
==============================================================================
--- tika/site/publish/0.8/detection.html (original)
+++ tika/site/publish/0.8/detection.html Mon Mar 9 18:56:18 2015
@@ -91,7 +91,7 @@
<li><a href="#Content_Detection">Content Detection</a>
<ul>
<li><a href="#The_Detector_Interface">The Detector Interface</a></li>
-<li><a href="#Mime_Magic_Detction">Mime Magic Detction</a></li>
+<li><a href="#Mime_Magic_Detection">Mime Magic Detection</a></li>
<li><a href="#Resource_Name_Based_Detection">Resource Name Based
Detection</a></li>
<li><a href="#Known_Content_Type_Detection">Known Content Type
"Detection</a></li>
<li><a href="#The_default_Mime_Types_Detector">The default Mime Types
Detector</a></li>
@@ -106,7 +106,7 @@
<p>The <tt>detect</tt> method takes the stream to inspect, and a
<tt>Metadata</tt> object that holds any additional information on the content.
The detector will return a <a
href="./api/org/apache/tika/mime/MediaType.html">MediaType</a> object
describing its best guess as to the type of the file.</p>
<p>In general, only two keys on the Metadata object are used by Detectors.
These are <tt>Metadata.RESOURCE_NAME_KEY</tt> which should hold the name of the
file (where known), and <tt>Metadata.CONTENT_TYPE</tt> which should hold the
advertised content type of the file (eg from a webserver or a content
repository).</p></div>
<div class="section">
-<h3><a name="Mime_Magic_Detction">Mime Magic Detction</a></h3>
+<h3><a name="Mime_Magic_Detection">Mime Magic Detection</a></h3>
<p>By looking for special ("magic") patterns of bytes near the start
of the file, it is often possible to detect the type of the file. For some file
types, this is a simple process. For others, typically container based formats,
the magic detection may not be enough. (More detail on detecting container
formats below)</p>
<p>Tika is able to make use of a a mime magic info file, in the <a
class="externalLink"
href="http://www.freedesktop.org/standards/shared-mime-info">Freedesktop
MIME-info</a> format to peform mime magic detection.</p>
<p>This is provided within Tika by <a
href="./api/org/apache/tika/detect/MagicDetector.html">org.apache.tika.detect.MagicDetector</a>.
It is most commonly access via <a
href="./api/org/apache/tika/mime/MimeTypes.html">org.apache.tika.mime.MimeTypes</a>,
normally sourced from the <tt>tika-mimetypes.xml</tt> file.</p></div>
Modified: tika/site/publish/0.9/detection.html
URL:
http://svn.apache.org/viewvc/tika/site/publish/0.9/detection.html?rev=1665325&r1=1665324&r2=1665325&view=diff
==============================================================================
--- tika/site/publish/0.9/detection.html (original)
+++ tika/site/publish/0.9/detection.html Mon Mar 9 18:56:18 2015
@@ -91,7 +91,7 @@
<li><a href="#Content_Detection">Content Detection</a>
<ul>
<li><a href="#The_Detector_Interface">The Detector Interface</a></li>
-<li><a href="#Mime_Magic_Detction">Mime Magic Detction</a></li>
+<li><a href="#Mime_Magic_Detection">Mime Magic Detection</a></li>
<li><a href="#Resource_Name_Based_Detection">Resource Name Based
Detection</a></li>
<li><a href="#Known_Content_Type_Detection">Known Content Type
"Detection</a></li>
<li><a href="#The_default_Mime_Types_Detector">The default Mime Types
Detector</a></li>
@@ -106,7 +106,7 @@
<p>The <tt>detect</tt> method takes the stream to inspect, and a
<tt>Metadata</tt> object that holds any additional information on the content.
The detector will return a <a
href="./api/org/apache/tika/mime/MediaType.html">MediaType</a> object
describing its best guess as to the type of the file.</p>
<p>In general, only two keys on the Metadata object are used by Detectors.
These are <tt>Metadata.RESOURCE_NAME_KEY</tt> which should hold the name of the
file (where known), and <tt>Metadata.CONTENT_TYPE</tt> which should hold the
advertised content type of the file (eg from a webserver or a content
repository).</p></div>
<div class="section">
-<h3><a name="Mime_Magic_Detction">Mime Magic Detction</a></h3>
+<h3><a name="Mime_Magic_Detection">Mime Magic Detection</a></h3>
<p>By looking for special ("magic") patterns of bytes near the start
of the file, it is often possible to detect the type of the file. For some file
types, this is a simple process. For others, typically container based formats,
the magic detection may not be enough. (More detail on detecting container
formats below)</p>
<p>Tika is able to make use of a a mime magic info file, in the <a
class="externalLink"
href="http://www.freedesktop.org/standards/shared-mime-info">Freedesktop
MIME-info</a> format to peform mime magic detection.</p>
<p>This is provided within Tika by <a
href="./api/org/apache/tika/detect/MagicDetector.html">org.apache.tika.detect.MagicDetector</a>.
It is most commonly access via <a
href="./api/org/apache/tika/mime/MimeTypes.html">org.apache.tika.mime.MimeTypes</a>,
normally sourced from the <tt>tika-mimetypes.xml</tt> file.</p></div>
Modified: tika/site/publish/1.0/detection.html
URL:
http://svn.apache.org/viewvc/tika/site/publish/1.0/detection.html?rev=1665325&r1=1665324&r2=1665325&view=diff
==============================================================================
--- tika/site/publish/1.0/detection.html (original)
+++ tika/site/publish/1.0/detection.html Mon Mar 9 18:56:18 2015
@@ -91,7 +91,7 @@
<li><a href="#Content_Detection">Content Detection</a>
<ul>
<li><a href="#The_Detector_Interface">The Detector Interface</a></li>
-<li><a href="#Mime_Magic_Detction">Mime Magic Detction</a></li>
+<li><a href="#Mime_Magic_Detection">Mime Magic Detection</a></li>
<li><a href="#Resource_Name_Based_Detection">Resource Name Based
Detection</a></li>
<li><a href="#Known_Content_Type_Detection">Known Content Type
"Detection</a></li>
<li><a href="#The_default_Mime_Types_Detector">The default Mime Types
Detector</a></li>
@@ -106,7 +106,7 @@
<p>The <tt>detect</tt> method takes the stream to inspect, and a
<tt>Metadata</tt> object that holds any additional information on the content.
The detector will return a <a
href="./api/org/apache/tika/mime/MediaType.html">MediaType</a> object
describing its best guess as to the type of the file.</p>
<p>In general, only two keys on the Metadata object are used by Detectors.
These are <tt>Metadata.RESOURCE_NAME_KEY</tt> which should hold the name of the
file (where known), and <tt>Metadata.CONTENT_TYPE</tt> which should hold the
advertised content type of the file (eg from a webserver or a content
repository).</p></div>
<div class="section">
-<h3><a name="Mime_Magic_Detction">Mime Magic Detction</a></h3>
+<h3><a name="Mime_Magic_Detection">Mime Magic Detection</a></h3>
<p>By looking for special ("magic") patterns of bytes near the start
of the file, it is often possible to detect the type of the file. For some file
types, this is a simple process. For others, typically container based formats,
the magic detection may not be enough. (More detail on detecting container
formats below)</p>
<p>Tika is able to make use of a a mime magic info file, in the <a
class="externalLink"
href="http://www.freedesktop.org/standards/shared-mime-info">Freedesktop
MIME-info</a> format to peform mime magic detection.</p>
<p>This is provided within Tika by <a
href="./api/org/apache/tika/detect/MagicDetector.html">org.apache.tika.detect.MagicDetector</a>.
It is most commonly access via <a
href="./api/org/apache/tika/mime/MimeTypes.html">org.apache.tika.mime.MimeTypes</a>,
normally sourced from the <tt>tika-mimetypes.xml</tt> file.</p></div>
Modified: tika/site/publish/1.1/detection.html
URL:
http://svn.apache.org/viewvc/tika/site/publish/1.1/detection.html?rev=1665325&r1=1665324&r2=1665325&view=diff
==============================================================================
--- tika/site/publish/1.1/detection.html (original)
+++ tika/site/publish/1.1/detection.html Mon Mar 9 18:56:18 2015
@@ -91,7 +91,7 @@
<li><a href="#Content_Detection">Content Detection</a>
<ul>
<li><a href="#The_Detector_Interface">The Detector Interface</a></li>
-<li><a href="#Mime_Magic_Detction">Mime Magic Detction</a></li>
+<li><a href="#Mime_Magic_Detection">Mime Magic Detection</a></li>
<li><a href="#Resource_Name_Based_Detection">Resource Name Based
Detection</a></li>
<li><a href="#Known_Content_Type_Detection">Known Content Type
"Detection</a></li>
<li><a href="#The_default_Mime_Types_Detector">The default Mime Types
Detector</a></li>
@@ -106,7 +106,7 @@
<p>The <tt>detect</tt> method takes the stream to inspect, and a
<tt>Metadata</tt> object that holds any additional information on the content.
The detector will return a <a
href="./api/org/apache/tika/mime/MediaType.html">MediaType</a> object
describing its best guess as to the type of the file.</p>
<p>In general, only two keys on the Metadata object are used by Detectors.
These are <tt>Metadata.RESOURCE_NAME_KEY</tt> which should hold the name of the
file (where known), and <tt>Metadata.CONTENT_TYPE</tt> which should hold the
advertised content type of the file (eg from a webserver or a content
repository).</p></div>
<div class="section">
-<h3><a name="Mime_Magic_Detction">Mime Magic Detction</a></h3>
+<h3><a name="Mime_Magic_Detection">Mime Magic Detection</a></h3>
<p>By looking for special ("magic") patterns of bytes near the start
of the file, it is often possible to detect the type of the file. For some file
types, this is a simple process. For others, typically container based formats,
the magic detection may not be enough. (More detail on detecting container
formats below)</p>
<p>Tika is able to make use of a a mime magic info file, in the <a
class="externalLink"
href="http://www.freedesktop.org/standards/shared-mime-info">Freedesktop
MIME-info</a> format to peform mime magic detection.</p>
<p>This is provided within Tika by <a
href="./api/org/apache/tika/detect/MagicDetector.html">org.apache.tika.detect.MagicDetector</a>.
It is most commonly access via <a
href="./api/org/apache/tika/mime/MimeTypes.html">org.apache.tika.mime.MimeTypes</a>,
normally sourced from the <tt>tika-mimetypes.xml</tt> file.</p></div>
Modified: tika/site/publish/1.2/detection.html
URL:
http://svn.apache.org/viewvc/tika/site/publish/1.2/detection.html?rev=1665325&r1=1665324&r2=1665325&view=diff
==============================================================================
--- tika/site/publish/1.2/detection.html (original)
+++ tika/site/publish/1.2/detection.html Mon Mar 9 18:56:18 2015
@@ -91,7 +91,7 @@
<li><a href="#Content_Detection">Content Detection</a>
<ul>
<li><a href="#The_Detector_Interface">The Detector Interface</a></li>
-<li><a href="#Mime_Magic_Detction">Mime Magic Detction</a></li>
+<li><a href="#Mime_Magic_Detection">Mime Magic Detection</a></li>
<li><a href="#Resource_Name_Based_Detection">Resource Name Based
Detection</a></li>
<li><a href="#Known_Content_Type_Detection">Known Content Type
"Detection</a></li>
<li><a href="#The_default_Mime_Types_Detector">The default Mime Types
Detector</a></li>
@@ -106,7 +106,7 @@
<p>The <tt>detect</tt> method takes the stream to inspect, and a
<tt>Metadata</tt> object that holds any additional information on the content.
The detector will return a <a
href="./api/org/apache/tika/mime/MediaType.html">MediaType</a> object
describing its best guess as to the type of the file.</p>
<p>In general, only two keys on the Metadata object are used by Detectors.
These are <tt>Metadata.RESOURCE_NAME_KEY</tt> which should hold the name of the
file (where known), and <tt>Metadata.CONTENT_TYPE</tt> which should hold the
advertised content type of the file (eg from a webserver or a content
repository).</p></div>
<div class="section">
-<h3><a name="Mime_Magic_Detction">Mime Magic Detction</a></h3>
+<h3><a name="Mime_Magic_Detection">Mime Magic Detection</a></h3>
<p>By looking for special ("magic") patterns of bytes near the start
of the file, it is often possible to detect the type of the file. For some file
types, this is a simple process. For others, typically container based formats,
the magic detection may not be enough. (More detail on detecting container
formats below)</p>
<p>Tika is able to make use of a a mime magic info file, in the <a
class="externalLink"
href="http://www.freedesktop.org/standards/shared-mime-info">Freedesktop
MIME-info</a> format to peform mime magic detection.</p>
<p>This is provided within Tika by <a
href="./api/org/apache/tika/detect/MagicDetector.html">org.apache.tika.detect.MagicDetector</a>.
It is most commonly access via <a
href="./api/org/apache/tika/mime/MimeTypes.html">org.apache.tika.mime.MimeTypes</a>,
normally sourced from the <tt>tika-mimetypes.xml</tt> file.</p></div>
Modified: tika/site/publish/1.3/detection.html
URL:
http://svn.apache.org/viewvc/tika/site/publish/1.3/detection.html?rev=1665325&r1=1665324&r2=1665325&view=diff
==============================================================================
--- tika/site/publish/1.3/detection.html (original)
+++ tika/site/publish/1.3/detection.html Mon Mar 9 18:56:18 2015
@@ -91,7 +91,7 @@
<li><a href="#Content_Detection">Content Detection</a>
<ul>
<li><a href="#The_Detector_Interface">The Detector Interface</a></li>
-<li><a href="#Mime_Magic_Detction">Mime Magic Detction</a></li>
+<li><a href="#Mime_Magic_Detection">Mime Magic Detection</a></li>
<li><a href="#Resource_Name_Based_Detection">Resource Name Based
Detection</a></li>
<li><a href="#Known_Content_Type_Detection">Known Content Type
"Detection</a></li>
<li><a href="#The_default_Mime_Types_Detector">The default Mime Types
Detector</a></li>
@@ -106,7 +106,7 @@
<p>The <tt>detect</tt> method takes the stream to inspect, and a
<tt>Metadata</tt> object that holds any additional information on the content.
The detector will return a <a
href="./api/org/apache/tika/mime/MediaType.html">MediaType</a> object
describing its best guess as to the type of the file.</p>
<p>In general, only two keys on the Metadata object are used by Detectors.
These are <tt>Metadata.RESOURCE_NAME_KEY</tt> which should hold the name of the
file (where known), and <tt>Metadata.CONTENT_TYPE</tt> which should hold the
advertised content type of the file (eg from a webserver or a content
repository).</p></div>
<div class="section">
-<h3><a name="Mime_Magic_Detction">Mime Magic Detction</a></h3>
+<h3><a name="Mime_Magic_Detection">Mime Magic Detection</a></h3>
<p>By looking for special ("magic") patterns of bytes near the start
of the file, it is often possible to detect the type of the file. For some file
types, this is a simple process. For others, typically container based formats,
the magic detection may not be enough. (More detail on detecting container
formats below)</p>
<p>Tika is able to make use of a a mime magic info file, in the <a
class="externalLink"
href="http://www.freedesktop.org/standards/shared-mime-info">Freedesktop
MIME-info</a> format to peform mime magic detection.</p>
<p>This is provided within Tika by <a
href="./api/org/apache/tika/detect/MagicDetector.html">org.apache.tika.detect.MagicDetector</a>.
It is most commonly access via <a
href="./api/org/apache/tika/mime/MimeTypes.html">org.apache.tika.mime.MimeTypes</a>,
normally sourced from the <tt>tika-mimetypes.xml</tt> file.</p></div>
Modified: tika/site/publish/1.4/detection.html
URL:
http://svn.apache.org/viewvc/tika/site/publish/1.4/detection.html?rev=1665325&r1=1665324&r2=1665325&view=diff
==============================================================================
--- tika/site/publish/1.4/detection.html (original)
+++ tika/site/publish/1.4/detection.html Mon Mar 9 18:56:18 2015
@@ -91,7 +91,7 @@
<li><a href="#Content_Detection">Content Detection</a>
<ul>
<li><a href="#The_Detector_Interface">The Detector Interface</a></li>
-<li><a href="#Mime_Magic_Detction">Mime Magic Detction</a></li>
+<li><a href="#Mime_Magic_Detection">Mime Magic Detection</a></li>
<li><a href="#Resource_Name_Based_Detection">Resource Name Based
Detection</a></li>
<li><a href="#Known_Content_Type_Detection">Known Content Type
"Detection</a></li>
<li><a href="#The_default_Mime_Types_Detector">The default Mime Types
Detector</a></li>
@@ -106,7 +106,7 @@
<p>The <tt>detect</tt> method takes the stream to inspect, and a
<tt>Metadata</tt> object that holds any additional information on the content.
The detector will return a <a
href="./api/org/apache/tika/mime/MediaType.html">MediaType</a> object
describing its best guess as to the type of the file.</p>
<p>In general, only two keys on the Metadata object are used by Detectors.
These are <tt>Metadata.RESOURCE_NAME_KEY</tt> which should hold the name of the
file (where known), and <tt>Metadata.CONTENT_TYPE</tt> which should hold the
advertised content type of the file (eg from a webserver or a content
repository).</p></div>
<div class="section">
-<h3><a name="Mime_Magic_Detction">Mime Magic Detction</a></h3>
+<h3><a name="Mime_Magic_Detection">Mime Magic Detection</a></h3>
<p>By looking for special ("magic") patterns of bytes near the start
of the file, it is often possible to detect the type of the file. For some file
types, this is a simple process. For others, typically container based formats,
the magic detection may not be enough. (More detail on detecting container
formats below)</p>
<p>Tika is able to make use of a a mime magic info file, in the <a
class="externalLink"
href="http://www.freedesktop.org/standards/shared-mime-info">Freedesktop
MIME-info</a> format to peform mime magic detection.</p>
<p>This is provided within Tika by <a
href="./api/org/apache/tika/detect/MagicDetector.html">org.apache.tika.detect.MagicDetector</a>.
It is most commonly access via <a
href="./api/org/apache/tika/mime/MimeTypes.html">org.apache.tika.mime.MimeTypes</a>,
normally sourced from the <tt>tika-mimetypes.xml</tt> file.</p></div>
Modified: tika/site/publish/1.5/detection.html
URL:
http://svn.apache.org/viewvc/tika/site/publish/1.5/detection.html?rev=1665325&r1=1665324&r2=1665325&view=diff
==============================================================================
--- tika/site/publish/1.5/detection.html (original)
+++ tika/site/publish/1.5/detection.html Mon Mar 9 18:56:18 2015
@@ -91,7 +91,7 @@
<li><a href="#Content_Detection">Content Detection</a>
<ul>
<li><a href="#The_Detector_Interface">The Detector Interface</a></li>
-<li><a href="#Mime_Magic_Detction">Mime Magic Detction</a></li>
+<li><a href="#Mime_Magic_Detection">Mime Magic Detection</a></li>
<li><a href="#Resource_Name_Based_Detection">Resource Name Based
Detection</a></li>
<li><a href="#Known_Content_Type_Detection">Known Content Type
"Detection</a></li>
<li><a href="#The_default_Mime_Types_Detector">The default Mime Types
Detector</a></li>
@@ -108,7 +108,7 @@
<p>The <tt>detect</tt> method takes the stream to inspect, and a
<tt>Metadata</tt> object that holds any additional information on the content.
The detector will return a <a
href="./api/org/apache/tika/mime/MediaType.html">MediaType</a> object
describing its best guess as to the type of the file.</p>
<p>In general, only two keys on the Metadata object are used by Detectors.
These are <tt>Metadata.RESOURCE_NAME_KEY</tt> which should hold the name of the
file (where known), and <tt>Metadata.CONTENT_TYPE</tt> which should hold the
advertised content type of the file (eg from a webserver or a content
repository).</p></div>
<div class="section">
-<h3><a name="Mime_Magic_Detction">Mime Magic Detction</a></h3>
+<h3><a name="Mime_Magic_Detection">Mime Magic Detection</a></h3>
<p>By looking for special ("magic") patterns of bytes near the start
of the file, it is often possible to detect the type of the file. For some file
types, this is a simple process. For others, typically container based formats,
the magic detection may not be enough. (More detail on detecting container
formats below)</p>
<p>Tika is able to make use of a a mime magic info file, in the <a
class="externalLink"
href="http://www.freedesktop.org/standards/shared-mime-info">Freedesktop
MIME-info</a> format to peform mime magic detection. (Note that Tika supports a
few more match types than Freedesktop does)</p>
<p>This is provided within Tika by <a
href="./api/org/apache/tika/detect/MagicDetector.html">org.apache.tika.detect.MagicDetector</a>.
It is most commonly access via <a
href="./api/org/apache/tika/mime/MimeTypes.html">org.apache.tika.mime.MimeTypes</a>,
normally sourced from the <tt>tika-mimetypes.xml</tt> and
<tt>custom-mimetypes.xml</tt> files. For more information on defining your own
custom mimetypes, see <a href="./parser_guide.html#Add_your_MIME-Type">the new
parser guide</a>.</p></div>
Modified: tika/site/publish/1.6/detection.html
URL:
http://svn.apache.org/viewvc/tika/site/publish/1.6/detection.html?rev=1665325&r1=1665324&r2=1665325&view=diff
==============================================================================
--- tika/site/publish/1.6/detection.html (original)
+++ tika/site/publish/1.6/detection.html Mon Mar 9 18:56:18 2015
@@ -91,7 +91,7 @@
<li><a href="#Content_Detection">Content Detection</a>
<ul>
<li><a href="#The_Detector_Interface">The Detector Interface</a></li>
-<li><a href="#Mime_Magic_Detction">Mime Magic Detction</a></li>
+<li><a href="#Mime_Magic_Detection">Mime Magic Detection</a></li>
<li><a href="#Resource_Name_Based_Detection">Resource Name Based
Detection</a></li>
<li><a href="#Known_Content_Type_Detection">Known Content Type
"Detection</a></li>
<li><a href="#The_default_Mime_Types_Detector">The default Mime Types
Detector</a></li>
@@ -108,7 +108,7 @@
<p>The <tt>detect</tt> method takes the stream to inspect, and a
<tt>Metadata</tt> object that holds any additional information on the content.
The detector will return a <a
href="./api/org/apache/tika/mime/MediaType.html">MediaType</a> object
describing its best guess as to the type of the file.</p>
<p>In general, only two keys on the Metadata object are used by Detectors.
These are <tt>Metadata.RESOURCE_NAME_KEY</tt> which should hold the name of the
file (where known), and <tt>Metadata.CONTENT_TYPE</tt> which should hold the
advertised content type of the file (eg from a webserver or a content
repository).</p></div>
<div class="section">
-<h3><a name="Mime_Magic_Detction">Mime Magic Detction</a></h3>
+<h3><a name="Mime_Magic_Detection">Mime Magic Detection</a></h3>
<p>By looking for special ("magic") patterns of bytes near the start
of the file, it is often possible to detect the type of the file. For some file
types, this is a simple process. For others, typically container based formats,
the magic detection may not be enough. (More detail on detecting container
formats below)</p>
<p>Tika is able to make use of a a mime magic info file, in the <a
class="externalLink"
href="http://www.freedesktop.org/standards/shared-mime-info">Freedesktop
MIME-info</a> format to peform mime magic detection. (Note that Tika supports a
few more match types than Freedesktop does)</p>
<p>This is provided within Tika by <a
href="./api/org/apache/tika/detect/MagicDetector.html">org.apache.tika.detect.MagicDetector</a>.
It is most commonly access via <a
href="./api/org/apache/tika/mime/MimeTypes.html">org.apache.tika.mime.MimeTypes</a>,
normally sourced from the <tt>tika-mimetypes.xml</tt> and
<tt>custom-mimetypes.xml</tt> files. For more information on defining your own
custom mimetypes, see <a href="./parser_guide.html#Add_your_MIME-Type">the new
parser guide</a>.</p></div>
Modified: tika/site/publish/1.7/detection.html
URL:
http://svn.apache.org/viewvc/tika/site/publish/1.7/detection.html?rev=1665325&r1=1665324&r2=1665325&view=diff
==============================================================================
--- tika/site/publish/1.7/detection.html (original)
+++ tika/site/publish/1.7/detection.html Mon Mar 9 18:56:18 2015
@@ -91,7 +91,7 @@
<li><a href="#Content_Detection">Content Detection</a>
<ul>
<li><a href="#The_Detector_Interface">The Detector Interface</a></li>
-<li><a href="#Mime_Magic_Detction">Mime Magic Detction</a></li>
+<li><a href="#Mime_Magic_Detection">Mime Magic Detection</a></li>
<li><a href="#Resource_Name_Based_Detection">Resource Name Based
Detection</a></li>
<li><a href="#Known_Content_Type_Detection">Known Content Type
"Detection</a></li>
<li><a href="#The_default_Mime_Types_Detector">The default Mime Types
Detector</a></li>
@@ -109,7 +109,7 @@
<p>The <tt>detect</tt> method takes the stream to inspect, and a
<tt>Metadata</tt> object that holds any additional information on the content.
The detector will return a <a
href="./api/org/apache/tika/mime/MediaType.html">MediaType</a> object
describing its best guess as to the type of the file.</p>
<p>In general, only two keys on the Metadata object are used by Detectors.
These are <tt>Metadata.RESOURCE_NAME_KEY</tt> which should hold the name of the
file (where known), and <tt>Metadata.CONTENT_TYPE</tt> which should hold the
advertised content type of the file (eg from a webserver or a content
repository).</p></div>
<div class="section">
-<h3><a name="Mime_Magic_Detction">Mime Magic Detction</a></h3>
+<h3><a name="Mime_Magic_Detection">Mime Magic Detection</a></h3>
<p>By looking for special ("magic") patterns of bytes near the start
of the file, it is often possible to detect the type of the file. For some file
types, this is a simple process. For others, typically container based formats,
the magic detection may not be enough. (More detail on detecting container
formats below)</p>
<p>Tika is able to make use of a a mime magic info file, in the <a
class="externalLink"
href="http://www.freedesktop.org/standards/shared-mime-info">Freedesktop
MIME-info</a> format to peform mime magic detection. (Note that Tika supports a
few more match types than Freedesktop does)</p>
<p>This is provided within Tika by <a
href="./api/org/apache/tika/detect/MagicDetector.html">org.apache.tika.detect.MagicDetector</a>.
It is most commonly access via <a
href="./api/org/apache/tika/mime/MimeTypes.html">org.apache.tika.mime.MimeTypes</a>,
normally sourced from the <tt>tika-mimetypes.xml</tt> and
<tt>custom-mimetypes.xml</tt> files. For more information on defining your own
custom mimetypes, see <a href="./parser_guide.html#Add_your_MIME-Type">the new
parser guide</a>.</p></div>