Uses of Class
org.apache.tika.mime.MediaType

Packages that use MediaType
org.apache.tika.detect   
org.apache.tika.mime   
org.apache.tika.parser   
org.apache.tika.parser.asm   
org.apache.tika.parser.audio   
org.apache.tika.parser.epub   
org.apache.tika.parser.html   
org.apache.tika.parser.image   
org.apache.tika.parser.jpeg   
org.apache.tika.parser.mbox   
org.apache.tika.parser.microsoft   
org.apache.tika.parser.microsoft.ooxml   
org.apache.tika.parser.mp3   
org.apache.tika.parser.odf   
org.apache.tika.parser.pdf   
org.apache.tika.parser.pkg   
org.apache.tika.parser.rtf   
org.apache.tika.parser.txt   
org.apache.tika.parser.video   
org.apache.tika.parser.xml   
 

Uses of MediaType in org.apache.tika.detect
 

Methods in org.apache.tika.detect that return MediaType
 MediaType CompositeDetector.detect(java.io.InputStream input, Metadata metadata)
           
 MediaType Detector.detect(java.io.InputStream input, Metadata metadata)
          Detects the content type of the given input document.
 MediaType MagicDetector.detect(java.io.InputStream input, Metadata metadata)
           
 MediaType NameDetector.detect(java.io.InputStream input, Metadata metadata)
          Detects the content type of an input document based on the document name given in the input metadata.
 MediaType TextDetector.detect(java.io.InputStream input, Metadata metadata)
          Looks at the beginning of the document input stream to determine whether the document is text or not.
 MediaType TypeDetector.detect(java.io.InputStream input, Metadata metadata)
          Detects the content type of an input document based on a type hint given in the input metadata.
 

Constructors in org.apache.tika.detect with parameters of type MediaType
MagicDetector(MediaType type, byte[] pattern)
          Creates a detector for input documents that have the exact given byte pattern at the beginning of the document stream.
MagicDetector(MediaType type, byte[] pattern, byte[] mask, int offsetRangeBegin, int offsetRangeEnd)
          Creates a detector for input documents that meet the specified magic match.
MagicDetector(MediaType type, byte[] pattern, int offset)
          Creates a detector for input documents that have the exact given byte pattern at the given offset of the document stream.
 

Constructor parameters in org.apache.tika.detect with type arguments of type MediaType
NameDetector(java.util.Map<java.util.regex.Pattern,MediaType> patterns)
          Creates a new content type detector based on the given name patterns.
 

Uses of MediaType in org.apache.tika.mime
 

Fields in org.apache.tika.mime declared as MediaType
static MediaType MediaType.APPLICATION_XML
           
static MediaType MediaType.OCTET_STREAM
           
static MediaType MediaType.TEXT_PLAIN
           
 

Methods in org.apache.tika.mime that return MediaType
static MediaType MediaType.application(java.lang.String type)
           
static MediaType MediaType.audio(java.lang.String type)
           
 MediaType MimeTypes.detect(java.io.InputStream input, Metadata metadata)
          Automatically detects the MIME type of a document based on magic markers in the stream prefix and any given metadata hints.
 MediaType MediaType.getBaseType()
           
static MediaType MediaType.image(java.lang.String type)
           
static MediaType MediaType.parse(java.lang.String string)
          Parses the given string to a media type.
static MediaType MediaType.text(java.lang.String type)
           
 MediaType MediaTypeRegistry.unalias(MediaType type)
           
static MediaType MediaType.video(java.lang.String type)
           
 

Methods in org.apache.tika.mime with parameters of type MediaType
 void MediaTypeRegistry.addAlias(MediaType canonical, MediaType alias)
           
 boolean MediaType.isSpecializationOf(MediaType that)
           
 MediaType MediaTypeRegistry.unalias(MediaType type)
           
 

Constructors in org.apache.tika.mime with parameters of type MediaType
MediaType(MediaType type, java.util.Map<java.lang.String,java.lang.String> parameters)
           
 

Uses of MediaType in org.apache.tika.parser
 

Methods in org.apache.tika.parser that return types with arguments of type MediaType
 java.util.Set<MediaType> ExternalParser.getSupportedTypes()
           
 java.util.Set<MediaType> CompositeParser.getSupportedTypes(ParseContext context)
           
 java.util.Set<MediaType> DelegatingParser.getSupportedTypes(ParseContext context)
           
 java.util.Set<MediaType> EmptyParser.getSupportedTypes(ParseContext context)
           
 java.util.Set<MediaType> ErrorParser.getSupportedTypes(ParseContext context)
           
 java.util.Set<MediaType> ExternalParser.getSupportedTypes(ParseContext context)
           
 java.util.Set<MediaType> Parser.getSupportedTypes(ParseContext context)
          Returns the set of media types supported by this parser when used with the given parse context.
 java.util.Set<MediaType> ParserDecorator.getSupportedTypes(ParseContext context)
          Delegates the method call to the decorated parser.
 

Method parameters in org.apache.tika.parser with type arguments of type MediaType
 void ExternalParser.setSupportedTypes(java.util.Set<MediaType> supportedTypes)
           
 

Uses of MediaType in org.apache.tika.parser.asm
 

Methods in org.apache.tika.parser.asm that return types with arguments of type MediaType
 java.util.Set<MediaType> ClassParser.getSupportedTypes(ParseContext context)
           
 

Uses of MediaType in org.apache.tika.parser.audio
 

Methods in org.apache.tika.parser.audio that return types with arguments of type MediaType
 java.util.Set<MediaType> AudioParser.getSupportedTypes(ParseContext context)
           
 java.util.Set<MediaType> MidiParser.getSupportedTypes(ParseContext context)
           
 

Uses of MediaType in org.apache.tika.parser.epub
 

Methods in org.apache.tika.parser.epub that return types with arguments of type MediaType
 java.util.Set<MediaType> EpubContentParser.getSupportedTypes(ParseContext context)
           
 java.util.Set<MediaType> EpubParser.getSupportedTypes(ParseContext context)
           
 

Uses of MediaType in org.apache.tika.parser.html
 

Methods in org.apache.tika.parser.html that return types with arguments of type MediaType
 java.util.Set<MediaType> HtmlParser.getSupportedTypes(ParseContext context)
           
 

Uses of MediaType in org.apache.tika.parser.image
 

Methods in org.apache.tika.parser.image that return types with arguments of type MediaType
 java.util.Set<MediaType> ImageParser.getSupportedTypes(ParseContext context)
           
 

Uses of MediaType in org.apache.tika.parser.jpeg
 

Methods in org.apache.tika.parser.jpeg that return types with arguments of type MediaType
 java.util.Set<MediaType> JpegParser.getSupportedTypes(ParseContext context)
           
 

Uses of MediaType in org.apache.tika.parser.mbox
 

Methods in org.apache.tika.parser.mbox that return types with arguments of type MediaType
 java.util.Set<MediaType> MboxParser.getSupportedTypes(ParseContext context)
           
 

Uses of MediaType in org.apache.tika.parser.microsoft
 

Methods in org.apache.tika.parser.microsoft that return types with arguments of type MediaType
 java.util.Set<MediaType> OfficeParser.getSupportedTypes(ParseContext context)
           
 

Uses of MediaType in org.apache.tika.parser.microsoft.ooxml
 

Methods in org.apache.tika.parser.microsoft.ooxml that return types with arguments of type MediaType
 java.util.Set<MediaType> OOXMLParser.getSupportedTypes(ParseContext context)
           
 

Uses of MediaType in org.apache.tika.parser.mp3
 

Methods in org.apache.tika.parser.mp3 that return types with arguments of type MediaType
 java.util.Set<MediaType> Mp3Parser.getSupportedTypes(ParseContext context)
           
 

Uses of MediaType in org.apache.tika.parser.odf
 

Methods in org.apache.tika.parser.odf that return types with arguments of type MediaType
 java.util.Set<MediaType> OpenDocumentContentParser.getSupportedTypes(ParseContext context)
           
 java.util.Set<MediaType> OpenDocumentParser.getSupportedTypes(ParseContext context)
           
 

Uses of MediaType in org.apache.tika.parser.pdf
 

Methods in org.apache.tika.parser.pdf that return types with arguments of type MediaType
 java.util.Set<MediaType> PDFParser.getSupportedTypes(ParseContext context)
           
 

Uses of MediaType in org.apache.tika.parser.pkg
 

Methods in org.apache.tika.parser.pkg that return types with arguments of type MediaType
 java.util.Set<MediaType> PackageParser.getSupportedTypes(ParseContext context)
           
 

Uses of MediaType in org.apache.tika.parser.rtf
 

Methods in org.apache.tika.parser.rtf that return types with arguments of type MediaType
 java.util.Set<MediaType> RTFParser.getSupportedTypes(ParseContext context)
           
 

Uses of MediaType in org.apache.tika.parser.txt
 

Methods in org.apache.tika.parser.txt that return types with arguments of type MediaType
 java.util.Set<MediaType> TXTParser.getSupportedTypes(ParseContext context)
           
 

Uses of MediaType in org.apache.tika.parser.video
 

Methods in org.apache.tika.parser.video that return types with arguments of type MediaType
 java.util.Set<MediaType> FLVParser.getSupportedTypes(ParseContext context)
           
 

Uses of MediaType in org.apache.tika.parser.xml
 

Methods in org.apache.tika.parser.xml that return types with arguments of type MediaType
 java.util.Set<MediaType> XMLParser.getSupportedTypes(ParseContext context)
           
 



Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.