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

Packages that use MediaType
org.apache.tika.config   
org.apache.tika.detect   
org.apache.tika.extractor   
org.apache.tika.mime   
org.apache.tika.parser   
org.apache.tika.parser.asm   
org.apache.tika.parser.audio   
org.apache.tika.parser.dwg   
org.apache.tika.parser.epub   
org.apache.tika.parser.feed   
org.apache.tika.parser.font   
org.apache.tika.parser.hdf   
org.apache.tika.parser.html   
org.apache.tika.parser.image   
org.apache.tika.parser.iwork   
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.netcdf   
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.config
 

Methods in org.apache.tika.config that return types with arguments of type MediaType
 java.util.Map<MediaType,Parser> TikaConfig.getParsers()
          Deprecated. Use the TikaConfig.getParser() method instead
 

Methods in org.apache.tika.config with parameters of type MediaType
 Parser TikaConfig.getParser(MediaType mimeType)
          Deprecated. Use the TikaConfig.getParser() method instead
 

Uses of MediaType in org.apache.tika.detect
 

Methods in org.apache.tika.detect that return MediaType
 MediaType ZipContainerDetector.detect(java.io.InputStream input, Metadata metadata)
           
 MediaType POIFSContainerDetector.detect(java.io.InputStream input, Metadata metadata)
           
 MediaType ContainerDetector.detect(java.io.InputStream input, Metadata metadata)
          Detect on the generic input stream, if possible.
 MediaType ContainerAwareDetector.detect(java.io.InputStream input, Metadata metadata)
           
 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.
 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 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 MagicDetector.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 CompositeDetector.detect(java.io.InputStream input, Metadata metadata)
           
 MediaType ZipContainerDetector.detect(TikaInputStream input, Metadata metadata)
           
 MediaType POIFSContainerDetector.detect(TikaInputStream stream, Metadata metadata)
           
 MediaType ContainerDetector.detect(TikaInputStream input, Metadata metadata)
          Does full, container aware detection for the file of the appropriate container type.
 MediaType ContainerAwareDetector.detect(TikaInputStream input, Metadata metadata)
           
protected  MediaType POIFSContainerDetector.detectCorel(org.apache.poi.poifs.filesystem.DirectoryNode directory)
           
 MediaType ZipContainerDetector.getDefault()
           
 MediaType POIFSContainerDetector.getDefault()
           
 MediaType ContainerDetector.getDefault()
          What is the default type returned by this detector, when it can't figure out anything more specific?
 

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.extractor
 

Methods in org.apache.tika.extractor with parameters of type MediaType
 void EmbeddedResourceHandler.handle(java.lang.String filename, MediaType mediaType, java.io.InputStream stream)
          Called to process an embedded resource within the container.
 

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.APPLICATION_ZIP
           
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()
           
 MediaType MediaTypeRegistry.getSupertype(MediaType type)
          Returns the supertype of the given type.
 MediaType MimeType.getType()
          Returns the normalized media type name.
static MediaType MediaType.image(java.lang.String type)
           
 MediaType MediaTypeRegistry.normalize(MediaType 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)
           
static MediaType MediaType.video(java.lang.String type)
           
 

Methods in org.apache.tika.mime that return types with arguments of type MediaType
 java.util.SortedSet<MediaType> MediaTypeRegistry.getAliases(MediaType type)
          Returns the set of known aliases of the given canonical media type.
 java.util.SortedSet<MediaType> MediaTypeRegistry.getTypes()
          Returns the set of all known canonical media types.
 

Methods in org.apache.tika.mime with parameters of type MediaType
 void MediaTypeRegistry.addAlias(MediaType type, MediaType alias)
           
 void MediaTypeRegistry.addSuperType(MediaType type, MediaType supertype)
           
 void MediaTypeRegistry.addType(MediaType type)
           
 int MediaType.compareTo(MediaType that)
           
 java.util.SortedSet<MediaType> MediaTypeRegistry.getAliases(MediaType type)
          Returns the set of known aliases of the given canonical media type.
 MediaType MediaTypeRegistry.getSupertype(MediaType type)
          Returns the supertype of the given type.
 boolean MediaTypeRegistry.isSpecializationOf(MediaType a, MediaType b)
          Checks whether the given media type a is a specialization of a more generic type b.
 MediaType MediaTypeRegistry.normalize(MediaType type)
           
 void MimeTypes.setSuperType(MimeType type, MediaType parent)
           
 

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.Map<MediaType,Parser> CompositeParser.getParsers()
          Returns the component parsers.
 java.util.Map<MediaType,Parser> CompositeParser.getParsers(ParseContext context)
           
 java.util.Set<MediaType> ExternalParser.getSupportedTypes()
           
 java.util.Set<MediaType> ParserDecorator.getSupportedTypes(ParseContext context)
          Delegates the method call to the decorated parser.
 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> ExternalParser.getSupportedTypes(ParseContext context)
           
 java.util.Set<MediaType> ErrorParser.getSupportedTypes(ParseContext context)
           
 java.util.Set<MediaType> EmptyParser.getSupportedTypes(ParseContext context)
           
 java.util.Set<MediaType> DelegatingParser.getSupportedTypes(ParseContext context)
           
 java.util.Set<MediaType> CompositeParser.getSupportedTypes(ParseContext context)
           
 

Method parameters in org.apache.tika.parser with type arguments of type MediaType
 void CompositeParser.setParsers(java.util.Map<MediaType,Parser> parsers)
          Sets the component parsers.
 void ExternalParser.setSupportedTypes(java.util.Set<MediaType> supportedTypes)
           
static Parser ParserDecorator.withTypes(Parser parser, java.util.Set<MediaType> types)
          Decorates the given parser so that it always claims to support parsing of the given media types.
 

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> MidiParser.getSupportedTypes(ParseContext context)
           
 java.util.Set<MediaType> AudioParser.getSupportedTypes(ParseContext context)
           
 

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

Methods in org.apache.tika.parser.dwg that return types with arguments of type MediaType
 java.util.Set<MediaType> DWGParser.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> EpubParser.getSupportedTypes(ParseContext context)
           
 java.util.Set<MediaType> EpubContentParser.getSupportedTypes(ParseContext context)
           
 

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

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

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

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

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

Methods in org.apache.tika.parser.hdf that return types with arguments of type MediaType
 java.util.Set<MediaType> HDFParser.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> TiffParser.getSupportedTypes(ParseContext context)
           
 java.util.Set<MediaType> ImageParser.getSupportedTypes(ParseContext context)
           
 

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

Methods in org.apache.tika.parser.iwork that return MediaType
static MediaType IWorkPackageParser.identifyType(java.util.zip.ZipFile zip)
          Locates the appropriate index file entry, and reads from that the root element of the document.
 

Methods in org.apache.tika.parser.iwork that return types with arguments of type MediaType
 java.util.Set<MediaType> IWorkParser.getSupportedTypes(ParseContext context)
           
 java.util.Set<MediaType> IWorkPackageParser.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 MediaType
 MediaType OfficeParser.POIFSDocumentType.getType()
           
 

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.netcdf
 

Methods in org.apache.tika.parser.netcdf that return types with arguments of type MediaType
 java.util.Set<MediaType> NetCDFParser.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> OpenDocumentParser.getSupportedTypes(ParseContext context)
           
 java.util.Set<MediaType> OpenDocumentContentParser.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.