Package org.apache.any23.mime
Class TikaMIMETypeDetectorTest
- java.lang.Object
-
- org.apache.any23.mime.TikaMIMETypeDetectorTest
-
public class TikaMIMETypeDetectorTest extends Object
Test case forTikaMIMETypeDetector
class.- Author:
- juergen, Michele Mostarda (michele.mostarda@gmail.com)
-
-
Constructor Summary
Constructors Constructor Description TikaMIMETypeDetectorTest()
-
Method Summary
-
-
-
Method Detail
-
testN3Detection
public void testN3Detection() throws IOException
- Throws:
IOException
-
testNQuadsDetection
public void testNQuadsDetection() throws IOException
- Throws:
IOException
-
testDetectRDFNQuadsByContent
public void testDetectRDFNQuadsByContent() throws Exception
- Throws:
Exception
-
testDetectRDFXMLByContent
public void testDetectRDFXMLByContent() throws Exception
- Throws:
Exception
-
testDetectContentPlainByMeta
public void testDetectContentPlainByMeta() throws IOException
- Throws:
IOException
-
testDetectTextRDFByMeta
public void testDetectTextRDFByMeta() throws IOException
- Throws:
IOException
-
testDetectTextN3ByMeta
public void testDetectTextN3ByMeta() throws IOException
- Throws:
IOException
-
testDetectTextNQuadsByMeta
public void testDetectTextNQuadsByMeta() throws IOException
- Throws:
IOException
-
testDetectTextTurtleByMeta
public void testDetectTextTurtleByMeta() throws IOException
- Throws:
IOException
-
testDetectRDFXMLByMeta
public void testDetectRDFXMLByMeta() throws IOException
- Throws:
IOException
-
testDetectXMLByMeta
public void testDetectXMLByMeta() throws IOException
- Throws:
IOException
-
testDetectTriXByMeta
public void testDetectTriXByMeta() throws IOException
- Throws:
IOException
-
testDetectExtensionN3ByMeta
public void testDetectExtensionN3ByMeta() throws IOException
- Throws:
IOException
-
testDetectXHTMLByMeta
public void testDetectXHTMLByMeta() throws IOException
- Throws:
IOException
-
testDetectTextHTMLByMeta
public void testDetectTextHTMLByMeta() throws IOException
- Throws:
IOException
-
testDetectTextPlainByMeta
public void testDetectTextPlainByMeta() throws IOException
- Throws:
IOException
-
testDetectApplicationXMLByMeta
public void testDetectApplicationXMLByMeta() throws IOException
- Throws:
IOException
-
testDetectApplicationCSVByMeta
public void testDetectApplicationCSVByMeta() throws IOException
- Throws:
IOException
-
testDetectApplicationYAMLByMeta
public void testDetectApplicationYAMLByMeta() throws IOException
- Throws:
IOException
-
testRDFXMLByContentAndName
public void testRDFXMLByContentAndName() throws Exception
- Throws:
Exception
-
testDetectRDFN3ByContentAndName
public void testDetectRDFN3ByContentAndName() throws Exception
- Throws:
Exception
-
testDetectRDFNQuadsByContentAndName
public void testDetectRDFNQuadsByContentAndName() throws Exception
- Throws:
Exception
-
testXHTMLByContentAndName
public void testXHTMLByContentAndName() throws Exception
- Throws:
Exception
-
-