Uses of Class
org.apache.tika.metadata.Metadata
-
Packages that use Metadata Package Description org.apache.tika Apache Tika.org.apache.tika.detect Media type detection.org.apache.tika.embedder org.apache.tika.extractor Extraction of component documents.org.apache.tika.fork Forked parser.org.apache.tika.io IO utilities.org.apache.tika.metadata Multi-valued metadata container, and set of constant metadata fields.org.apache.tika.metadata.filter org.apache.tika.mime Media type information.org.apache.tika.parser Tika parsers.org.apache.tika.parser.digest org.apache.tika.parser.external External parser process.org.apache.tika.parser.external2 org.apache.tika.parser.multiple org.apache.tika.pipes org.apache.tika.pipes.emitter org.apache.tika.pipes.fetcher org.apache.tika.pipes.fetcher.fs org.apache.tika.pipes.fetcher.url org.apache.tika.renderer org.apache.tika.sax SAX utilities.org.apache.tika.utils Utilities. -
-
Uses of Metadata in org.apache.tika
Methods in org.apache.tika with parameters of type Metadata Modifier and Type Method Description StringTika. detect(InputStream stream, Metadata metadata)Detects the media type of the given document.ReaderTika. parse(File file, Metadata metadata)Parses the given file and returns the extracted text content.ReaderTika. parse(InputStream stream, Metadata metadata)Parses the given document and returns the extracted text content.ReaderTika. parse(Path path, Metadata metadata)Parses the file at the given path and returns the extracted text content.StringTika. parseToString(InputStream stream, Metadata metadata)Parses the given document and returns the extracted text content.StringTika. parseToString(InputStream stream, Metadata metadata, int maxLength)Parses the given document and returns the extracted text content. -
Uses of Metadata in org.apache.tika.detect
Methods in org.apache.tika.detect with parameters of type Metadata Modifier and Type Method Description MediaTypeCompositeDetector. detect(InputStream input, Metadata metadata)CharsetCompositeEncodingDetector. detect(InputStream input, Metadata metadata)MediaTypeDetector. detect(InputStream input, Metadata metadata)Detects the content type of the given input document.MediaTypeEmptyDetector. detect(InputStream input, Metadata metadata)CharsetEncodingDetector. detect(InputStream input, Metadata metadata)Detects the character encoding of the given text document, ornullif the encoding of the document can not be detected.MediaTypeFileCommandDetector. detect(InputStream input, Metadata metadata)MediaTypeMagicDetector. detect(InputStream input, Metadata metadata)MediaTypeNameDetector. detect(InputStream input, Metadata metadata)Detects the content type of an input document based on the document name given in the input metadata.CharsetNonDetectingEncodingDetector. detect(InputStream input, Metadata metadata)MediaTypeOverrideDetector. detect(InputStream input, Metadata metadata)Deprecated.MediaTypeTextDetector. detect(InputStream input, Metadata metadata)Looks at the beginning of the document input stream to determine whether the document is text or not.MediaTypeTrainedModelDetector. detect(InputStream input, Metadata metadata)MediaTypeTypeDetector. detect(InputStream input, Metadata metadata)Detects the content type of an input document based on a type hint given in the input metadata.MediaTypeZeroSizeFileDetector. detect(InputStream stream, Metadata metadata)Constructors in org.apache.tika.detect with parameters of type Metadata Constructor Description AutoDetectReader(InputStream stream, Metadata metadata)AutoDetectReader(InputStream stream, Metadata metadata, ServiceLoader loader)AutoDetectReader(InputStream stream, Metadata metadata, EncodingDetector encodingDetector) -
Uses of Metadata in org.apache.tika.embedder
Methods in org.apache.tika.embedder with parameters of type Metadata Modifier and Type Method Description voidEmbedder. embed(Metadata metadata, InputStream originalStream, OutputStream outputStream, ParseContext context)Embeds related document metadata from the given metadata object into the given output stream.voidExternalEmbedder. embed(Metadata metadata, InputStream inputStream, OutputStream outputStream, ParseContext context)Executes the configured external command and passes the given document stream as a simple XHTML document to the given SAX content handler.protected List<String>ExternalEmbedder. getCommandMetadataSegments(Metadata metadata)Constructs a collection of command line arguments responsible for setting individual metadata fields based on the givenmetadata. -
Uses of Metadata in org.apache.tika.extractor
Methods in org.apache.tika.extractor with parameters of type Metadata Modifier and Type Method Description StringEmbeddedDocumentUtil. getExtension(TikaInputStream is, Metadata metadata)EmbeddedDocumentExtractorEmbeddedDocumentExtractorFactory. newInstance(Metadata metadata, ParseContext parseContext)EmbeddedDocumentExtractorParsingEmbeddedDocumentExtractorFactory. newInstance(Metadata metadata, ParseContext parseContext)voidEmbeddedDocumentExtractor. parseEmbedded(InputStream stream, ContentHandler handler, Metadata metadata, boolean outputHtml)Processes the supplied embedded resource, calling the delegating parser with the appropriate details.voidEmbeddedDocumentUtil. parseEmbedded(InputStream inputStream, ContentHandler handler, Metadata metadata, boolean outputHtml)voidParsingEmbeddedDocumentExtractor. parseEmbedded(InputStream stream, ContentHandler handler, Metadata metadata, boolean outputHtml)static voidEmbeddedDocumentUtil. recordEmbeddedStreamException(Throwable t, Metadata m)static voidEmbeddedDocumentUtil. recordException(Throwable t, Metadata m)booleanDocumentSelector. select(Metadata metadata)Checks if a document with the given metadata matches the specified selection criteria.booleanEmbeddedDocumentExtractor. shouldParseEmbedded(Metadata metadata)booleanEmbeddedDocumentUtil. shouldParseEmbedded(Metadata m)booleanParsingEmbeddedDocumentExtractor. shouldParseEmbedded(Metadata metadata)booleanDefaultEmbeddedStreamTranslator. shouldTranslate(InputStream inputStream, Metadata metadata)This should sniff the stream to determine if it needs to be translated.booleanEmbeddedStreamTranslator. shouldTranslate(InputStream inputStream, Metadata metadata)InputStreamDefaultEmbeddedStreamTranslator. translate(InputStream inputStream, Metadata metadata)This will consume the InputStream and return a new stream of translated bytes.InputStreamEmbeddedStreamTranslator. translate(InputStream inputStream, Metadata metadata) -
Uses of Metadata in org.apache.tika.fork
Methods in org.apache.tika.fork with parameters of type Metadata Modifier and Type Method Description voidForkParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)This sends the objects to the server for parsing, and the server via the proxies acts on the handler as if it were updating it directly. -
Uses of Metadata in org.apache.tika.io
Methods in org.apache.tika.io with parameters of type Metadata Modifier and Type Method Description PathTemporaryResources. createTempFile(Metadata metadata)Creates a temporary file that will automatically be deleted when theTemporaryResources.close()method is called, returning its path.static TikaInputStreamTikaInputStream. get(byte[] data, Metadata metadata)Creates a TikaInputStream from the given array of bytes.static TikaInputStreamTikaInputStream. get(File file, Metadata metadata)Deprecated.static TikaInputStreamTikaInputStream. get(InputStream stream, TemporaryResources tmp, Metadata metadata)Casts or wraps the given stream to a TikaInputStream instance.static TikaInputStreamTikaInputStream. get(URI uri, Metadata metadata)Creates a TikaInputStream from the resource at the given URI.static TikaInputStreamTikaInputStream. get(URL url, Metadata metadata)Creates a TikaInputStream from the resource at the given URL.static TikaInputStreamTikaInputStream. get(Path path, Metadata metadata)Creates a TikaInputStream from the file at the given path.static TikaInputStreamTikaInputStream. get(Path path, Metadata metadata, TemporaryResources tmp)static TikaInputStreamTikaInputStream. get(Blob blob, Metadata metadata)Creates a TikaInputStream from the given database BLOB. -
Uses of Metadata in org.apache.tika.metadata
Methods in org.apache.tika.metadata with parameters of type Metadata Modifier and Type Method Description static voidXMPDM.ChannelTypePropertyConverter. convertAndSet(Metadata metadata, Object value)Deprecated.How convert+set might work -
Uses of Metadata in org.apache.tika.metadata.filter
Methods in org.apache.tika.metadata.filter with parameters of type Metadata Modifier and Type Method Description voidCaptureGroupMetadataFilter. filter(Metadata metadata)voidClearByMimeMetadataFilter. filter(Metadata metadata)voidCompositeMetadataFilter. filter(Metadata metadata)voidDateNormalizingMetadataFilter. filter(Metadata metadata)voidExcludeFieldMetadataFilter. filter(Metadata metadata)voidFieldNameMappingFilter. filter(Metadata metadata)voidGeoPointMetadataFilter. filter(Metadata metadata)voidIncludeFieldMetadataFilter. filter(Metadata metadata)abstract voidMetadataFilter. filter(Metadata metadata)voidNoOpFilter. filter(Metadata metadata) -
Uses of Metadata in org.apache.tika.mime
Methods in org.apache.tika.mime with parameters of type Metadata Modifier and Type Method Description MediaTypeMimeTypes. detect(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.MediaTypeProbabilisticMimeDetectionSelector. detect(InputStream input, Metadata metadata) -
Uses of Metadata in org.apache.tika.parser
Methods in org.apache.tika.parser that return types with arguments of type Metadata Modifier and Type Method Description List<Metadata>ParseRecord. getMetadataList()Methods in org.apache.tika.parser with parameters of type Metadata Modifier and Type Method Description voidParseRecord. addMetadata(Metadata metadata)voidDigestingParser.Digester. digest(InputStream is, Metadata m, ParseContext parseContext)Digests an InputStream and sets the appropriate value(s) in the metadata.protected ParserCompositeParser. getParser(Metadata metadata)Returns the parser that best matches the given metadata.protected ParserCompositeParser. getParser(Metadata metadata, ParseContext context)StringPasswordProvider. getPassword(Metadata metadata)Looks up the password for a document with the given metadata, and returns it for the Parser.voidAbstractParser. parse(InputStream stream, ContentHandler handler, Metadata metadata)Deprecated.use theParser.parse(InputStream, ContentHandler, Metadata, ParseContext)method insteadvoidAutoDetectParser. parse(InputStream stream, ContentHandler handler, Metadata metadata)voidAutoDetectParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)voidCompositeParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)Delegates the call to the matching component parser.voidCryptoParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)voidDelegatingParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)Looks up the delegate parser from the parsing context and delegates the parse operation to it.voidDigestingParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)voidEmptyParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)voidErrorParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)voidNetworkParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)voidParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)Parses a document stream into a sequence of XHTML SAX events.voidParserDecorator. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)Delegates the method call to the decorated parser.voidParserPostProcessor. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)Forwards the call to the delegated parser and post-processes the results as described above.voidRecursiveParserWrapper. parse(InputStream stream, ContentHandler recursiveParserWrapperHandler, Metadata metadata, ParseContext context)voidRegexCaptureParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)Constructors in org.apache.tika.parser with parameters of type Metadata Constructor Description ParsingReader(Parser parser, InputStream stream, Metadata metadata, ParseContext context)Creates a reader for the text content of the given binary stream with the given document metadata.ParsingReader(Parser parser, InputStream stream, Metadata metadata, ParseContext context, Executor executor)Creates a reader for the text content of the given binary stream with the given document metadata. -
Uses of Metadata in org.apache.tika.parser.digest
Methods in org.apache.tika.parser.digest with parameters of type Metadata Modifier and Type Method Description voidCompositeDigester. digest(InputStream is, Metadata m, ParseContext parseContext)voidInputStreamDigester. digest(InputStream is, Metadata metadata, ParseContext parseContext) -
Uses of Metadata in org.apache.tika.parser.external
Methods in org.apache.tika.parser.external with parameters of type Metadata Modifier and Type Method Description voidExternalParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)Executes the configured external command and passes the given document stream as a simple XHTML document to the given SAX content handler. -
Uses of Metadata in org.apache.tika.parser.external2
Methods in org.apache.tika.parser.external2 with parameters of type Metadata Modifier and Type Method Description voidExternalParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context) -
Uses of Metadata in org.apache.tika.parser.multiple
Methods in org.apache.tika.parser.multiple that return Metadata Modifier and Type Method Description protected static MetadataAbstractMultipleParser. mergeMetadata(Metadata newMetadata, Metadata lastMetadata, AbstractMultipleParser.MetadataPolicy policy)Methods in org.apache.tika.parser.multiple with parameters of type Metadata Modifier and Type Method Description protected static MetadataAbstractMultipleParser. mergeMetadata(Metadata newMetadata, Metadata lastMetadata, AbstractMultipleParser.MetadataPolicy policy)voidAbstractMultipleParser. parse(InputStream stream, ContentHandlerFactory handlers, Metadata metadata, ParseContext context)Deprecated.TheContentHandlerFactoryoverride is still experimental and the method signature is subject to change before Tika 2.0voidAbstractMultipleParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)Processes the given Stream through one or more parsers, resetting things between parsers as requested by policy.protected abstract booleanAbstractMultipleParser. parserCompleted(Parser parser, Metadata metadata, ContentHandler handler, ParseContext context, Exception exception)Used to notify implementations that a Parser has Finished or Failed, and to allow them to decide to continue or abort further parsingprotected booleanFallbackParser. parserCompleted(Parser parser, Metadata metadata, ContentHandler handler, ParseContext context, Exception exception)protected booleanSupplementingParser. parserCompleted(Parser parser, Metadata metadata, ContentHandler handler, ParseContext context, Exception exception)protected voidAbstractMultipleParser. parserPrepare(Parser parser, Metadata metadata, ParseContext context)Used to allow implementations to prepare or change things before parsing occurs -
Uses of Metadata in org.apache.tika.pipes
Methods in org.apache.tika.pipes that return Metadata Modifier and Type Method Description MetadataFetchEmitTuple. getMetadata()Methods in org.apache.tika.pipes that return types with arguments of type Metadata Modifier and Type Method Description protected List<Metadata>PipesServer. parseIt(FetchEmitTuple t, Fetcher fetcher)Constructors in org.apache.tika.pipes with parameters of type Metadata Constructor Description FetchEmitTuple(String id, FetchKey fetchKey, EmitKey emitKey, Metadata metadata)FetchEmitTuple(String id, FetchKey fetchKey, EmitKey emitKey, Metadata metadata, HandlerConfig handlerConfig, FetchEmitTuple.ON_PARSE_EXCEPTION onParseException) -
Uses of Metadata in org.apache.tika.pipes.emitter
Methods in org.apache.tika.pipes.emitter that return types with arguments of type Metadata Modifier and Type Method Description List<Metadata>EmitData. getMetadataList()Methods in org.apache.tika.pipes.emitter with parameters of type Metadata Modifier and Type Method Description voidStreamEmitter. emit(String emitKey, InputStream inputStream, Metadata userMetadata)Method parameters in org.apache.tika.pipes.emitter with type arguments of type Metadata Modifier and Type Method Description voidEmitter. emit(String emitKey, List<Metadata> metadataList)voidEmptyEmitter. emit(String emitKey, List<Metadata> metadataList)Constructor parameters in org.apache.tika.pipes.emitter with type arguments of type Metadata Constructor Description EmitData(EmitKey emitKey, List<Metadata> metadataList)EmitData(EmitKey emitKey, List<Metadata> metadataList, String containerStackTrace) -
Uses of Metadata in org.apache.tika.pipes.fetcher
Methods in org.apache.tika.pipes.fetcher with parameters of type Metadata Modifier and Type Method Description InputStreamEmptyFetcher. fetch(String fetchKey, Metadata metadata)InputStreamFetcher. fetch(String fetchKey, Metadata metadata)InputStreamRangeFetcher. fetch(String fetchKey, long startOffset, long endOffset, Metadata metadata) -
Uses of Metadata in org.apache.tika.pipes.fetcher.fs
Methods in org.apache.tika.pipes.fetcher.fs with parameters of type Metadata Modifier and Type Method Description InputStreamFileSystemFetcher. fetch(String fetchKey, Metadata metadata) -
Uses of Metadata in org.apache.tika.pipes.fetcher.url
Methods in org.apache.tika.pipes.fetcher.url with parameters of type Metadata Modifier and Type Method Description InputStreamUrlFetcher. fetch(String fetchKey, Metadata metadata) -
Uses of Metadata in org.apache.tika.renderer
Methods in org.apache.tika.renderer that return Metadata Modifier and Type Method Description MetadataRenderResult. getMetadata()Methods in org.apache.tika.renderer with parameters of type Metadata Modifier and Type Method Description RenderResultsCompositeRenderer. render(InputStream is, Metadata metadata, ParseContext parseContext, RenderRequest... requests)RenderResultsRenderer. render(InputStream is, Metadata metadata, ParseContext parseContext, RenderRequest... requests)Constructors in org.apache.tika.renderer with parameters of type Metadata Constructor Description RenderResult(RenderResult.STATUS status, int id, Object result, Metadata metadata) -
Uses of Metadata in org.apache.tika.sax
Fields in org.apache.tika.sax with type parameters of type Metadata Modifier and Type Field Description protected List<Metadata>RecursiveParserWrapperHandler. metadataListMethods in org.apache.tika.sax that return types with arguments of type Metadata Modifier and Type Method Description List<Metadata>RecursiveParserWrapperHandler. getMetadataList()Methods in org.apache.tika.sax with parameters of type Metadata Modifier and Type Method Description ContentHandlerContentHandlerDecoratorFactory. decorate(ContentHandler contentHandler, Metadata metadata, ParseContext parseContext)voidAbstractRecursiveParserWrapperHandler. endDocument(ContentHandler contentHandler, Metadata metadata)This is called after the full parse has completed.voidRecursiveParserWrapperHandler. endDocument(ContentHandler contentHandler, Metadata metadata)voidAbstractRecursiveParserWrapperHandler. endEmbeddedDocument(ContentHandler contentHandler, Metadata metadata)This is called after parsing each embedded document.voidRecursiveParserWrapperHandler. endEmbeddedDocument(ContentHandler contentHandler, Metadata metadata)This is called after parsing an embedded document.voidXMPContentHandler. metadata(Metadata metadata)voidAbstractRecursiveParserWrapperHandler. startEmbeddedDocument(ContentHandler contentHandler, Metadata metadata)This is called before parsing each embedded document.voidRecursiveParserWrapperHandler. startEmbeddedDocument(ContentHandler contentHandler, Metadata metadata)This is called before parsing an embedded documentConstructors in org.apache.tika.sax with parameters of type Metadata Constructor Description DIFContentHandler(ContentHandler delegate, Metadata metadata)PhoneExtractingContentHandler(ContentHandler handler, Metadata metadata)Creates a decorator for the given SAX event handler and Metadata object.StandardsExtractingContentHandler(ContentHandler handler, Metadata metadata)Creates a decorator for the given SAX event handler and Metadata object.XHTMLContentHandler(ContentHandler handler, Metadata metadata) -
Uses of Metadata in org.apache.tika.utils
Methods in org.apache.tika.utils that return Metadata Modifier and Type Method Description static MetadataParserUtils. cloneMetadata(Metadata m)Does a deep clone of a Metadata object.Methods in org.apache.tika.utils with parameters of type Metadata Modifier and Type Method Description static MetadataParserUtils. cloneMetadata(Metadata m)Does a deep clone of a Metadata object.static InputStreamParserUtils. ensureStreamReReadable(InputStream stream, TemporaryResources tmp, Metadata metadata)Ensures that the Stream will be able to be re-read, by buffering to a temporary file if required.static voidParserUtils. recordParserDetails(String parserClassName, Metadata metadata)static voidParserUtils. recordParserDetails(Parser parser, Metadata metadata)static voidParserUtils. recordParserFailure(Parser parser, Throwable failure, Metadata metadata)
-