Uses of Class
org.apache.tika.metadata.Metadata
-
-
Uses of Metadata in org.apache.tika
Methods in org.apache.tika with parameters of type Metadata Modifier and Type Method Description String
Tika. detect(InputStream stream, Metadata metadata)
Detects the media type of the given document.Reader
Tika. parse(File file, Metadata metadata)
Parses the given file and returns the extracted text content.Reader
Tika. parse(InputStream stream, Metadata metadata)
Parses the given document and returns the extracted text content.Reader
Tika. parse(Path path, Metadata metadata)
Parses the file at the given path and returns the extracted text content.String
Tika. parseToString(InputStream stream, Metadata metadata)
Parses the given document and returns the extracted text content.String
Tika. parseToString(InputStream stream, Metadata metadata, int maxLength)
Parses the given document and returns the extracted text content. -
Uses of Metadata in org.apache.tika.batch
Methods in org.apache.tika.batch that return Metadata Modifier and Type Method Description Metadata
FileResource. getMetadata()
This gets the metadata available before the parsing of the file.Methods in org.apache.tika.batch with parameters of type Metadata Modifier and Type Method Description OutputStream
OutputStreamFactory. getOutputStream(Metadata metadata)
protected void
FileResourceConsumer. parse(String resourceId, Parser parser, InputStream is, ContentHandler handler, Metadata m, ParseContext parseContext)
Utility method to handle logging equivalently among all implementing classes.protected boolean
FileResourceCrawler. select(Metadata m)
-
Uses of Metadata in org.apache.tika.batch.fs
Methods in org.apache.tika.batch.fs that return Metadata Modifier and Type Method Description Metadata
FSFileResource. getMetadata()
Methods in org.apache.tika.batch.fs with parameters of type Metadata Modifier and Type Method Description OutputStream
FSOutputStreamFactory. getOutputStream(Metadata metadata)
This tries to create a file based on theFSUtil.HANDLE_EXISTING
value that was passed in during initialization.boolean
FSDocumentSelector. select(Metadata metadata)
-
Uses of Metadata in org.apache.tika.detect
Methods in org.apache.tika.detect with parameters of type Metadata Modifier and Type Method Description MediaType
CompositeDetector. detect(InputStream input, Metadata metadata)
Charset
CompositeEncodingDetector. detect(InputStream input, Metadata metadata)
MediaType
Detector. detect(InputStream input, Metadata metadata)
Detects the content type of the given input document.MediaType
EmptyDetector. detect(InputStream input, Metadata metadata)
Charset
EncodingDetector. detect(InputStream input, Metadata metadata)
Detects the character encoding of the given text document, ornull
if the encoding of the document can not be detected.MediaType
MagicDetector. detect(InputStream input, Metadata metadata)
MediaType
NameDetector. detect(InputStream input, Metadata metadata)
Detects the content type of an input document based on the document name given in the input metadata.Charset
NonDetectingEncodingDetector. detect(InputStream input, Metadata metadata)
MediaType
OverrideDetector. detect(InputStream input, Metadata metadata)
MediaType
TextDetector. detect(InputStream input, Metadata metadata)
Looks at the beginning of the document input stream to determine whether the document is text or not.MediaType
TrainedModelDetector. detect(InputStream input, Metadata metadata)
MediaType
TypeDetector. detect(InputStream input, Metadata metadata)
Detects the content type of an input document based on a type hint given in the input metadata.MediaType
ZeroSizeFileDetector. 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.dl.imagerec
Methods in org.apache.tika.dl.imagerec with parameters of type Metadata Modifier and Type Method Description List<RecognisedObject>
DL4JInceptionV3Net. recognise(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
List<RecognisedObject>
DL4JVGG16Net. recognise(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
-
Uses of Metadata in org.apache.tika.embedder
Methods in org.apache.tika.embedder with parameters of type Metadata Modifier and Type Method Description void
Embedder. embed(Metadata metadata, InputStream originalStream, OutputStream outputStream, ParseContext context)
Embeds related document metadata from the given metadata object into the given output stream.void
ExternalEmbedder. 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.eval
Methods in org.apache.tika.eval with parameters of type Metadata Modifier and Type Method Description protected static ContentTags
AbstractProfiler. getContent(org.apache.tika.eval.EvalFilePaths evalFilePaths, Metadata metadata)
protected org.apache.tika.eval.EvalFilePaths
AbstractProfiler. getPathsFromExtractCrawl(Metadata metadata, Path extracts)
protected org.apache.tika.eval.EvalFilePaths
AbstractProfiler. getPathsFromSrcCrawl(Metadata metadata, Path srcDir, Path extracts)
protected void
AbstractProfiler. writeExceptionData(String fileId, Metadata m, TableInfo exceptionTable)
protected void
AbstractProfiler. writeProfileData(org.apache.tika.eval.EvalFilePaths fps, int i, ContentTags contentTags, Metadata m, String fileId, String containerId, List<Integer> numAttachments, TableInfo profileTable)
Method parameters in org.apache.tika.eval with type arguments of type Metadata Modifier and Type Method Description protected long
AbstractProfiler. getSourceFileLength(org.apache.tika.eval.EvalFilePaths fps, List<Metadata> metadataList)
-
Uses of Metadata in org.apache.tika.eval.io
Methods in org.apache.tika.eval.io that return types with arguments of type Metadata Modifier and Type Method Description List<Metadata>
ExtractReader. loadExtract(Path extractFile)
-
Uses of Metadata in org.apache.tika.example
Methods in org.apache.tika.example that return Metadata Modifier and Type Method Description static Metadata
DisplayMetInstance. getMet(URL url)
Methods in org.apache.tika.example that return types with arguments of type Metadata Modifier and Type Method Description List<Metadata>
ParsingExample. recursiveParserWrapperExample()
For documents that may contain embedded documents, it might be helpful to create list of metadata objects, one for the container document and one for each embedded document.Methods in org.apache.tika.example with parameters of type Metadata Modifier and Type Method Description MediaType
EncryptedPrescriptionDetector. detect(InputStream stream, Metadata metadata)
protected ContentHandler
PrescriptionParser. getContentHandler(ContentHandler handler, Metadata metadata, ParseContext context)
void
DirListParser. parse(InputStream is, ContentHandler handler, Metadata metadata)
void
DirListParser. parse(InputStream is, ContentHandler handler, Metadata metadata, ParseContext context)
void
EncryptedPrescriptionParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
void
LanguageDetectingParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
static String
MyFirstTika. parseUsingAutoDetect(String filename, TikaConfig tikaConfig, Metadata metadata)
static String
MyFirstTika. parseUsingComponents(String filename, TikaConfig tikaConfig, Metadata metadata)
-
Uses of Metadata in org.apache.tika.extractor
Methods in org.apache.tika.extractor with parameters of type Metadata Modifier and Type Method Description String
EmbeddedDocumentUtil. getExtension(TikaInputStream is, Metadata metadata)
void
EmbeddedDocumentExtractor. parseEmbedded(InputStream stream, ContentHandler handler, Metadata metadata, boolean outputHtml)
Processes the supplied embedded resource, calling the delegating parser with the appropriate details.void
EmbeddedDocumentUtil. parseEmbedded(InputStream inputStream, ContentHandler handler, Metadata metadata, boolean outputHtml)
void
ParsingEmbeddedDocumentExtractor. parseEmbedded(InputStream stream, ContentHandler handler, Metadata metadata, boolean outputHtml)
static void
EmbeddedDocumentUtil. recordEmbeddedStreamException(Throwable t, Metadata m)
static void
EmbeddedDocumentUtil. recordException(Throwable t, Metadata m)
boolean
DocumentSelector. select(Metadata metadata)
Checks if a document with the given metadata matches the specified selection criteria.boolean
EmbeddedDocumentExtractor. shouldParseEmbedded(Metadata metadata)
boolean
EmbeddedDocumentUtil. shouldParseEmbedded(Metadata m)
boolean
ParsingEmbeddedDocumentExtractor. shouldParseEmbedded(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 void
ForkParser. 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 static TikaInputStream
TikaInputStream. get(byte[] data, Metadata metadata)
Creates a TikaInputStream from the given array of bytes.static TikaInputStream
TikaInputStream. get(File file, Metadata metadata)
Deprecated.static TikaInputStream
TikaInputStream. get(URI uri, Metadata metadata)
Creates a TikaInputStream from the resource at the given URI.static TikaInputStream
TikaInputStream. get(URL url, Metadata metadata)
Creates a TikaInputStream from the resource at the given URL.static TikaInputStream
TikaInputStream. get(Path path, Metadata metadata)
Creates a TikaInputStream from the file at the given path.static TikaInputStream
TikaInputStream. 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 void
XMPDM.ChannelTypePropertyConverter. convertAndSet(Metadata metadata, Object value)
Deprecated.How convert+set might work -
Uses of Metadata in org.apache.tika.metadata.serialization
Methods in org.apache.tika.metadata.serialization that return Metadata Modifier and Type Method Description Metadata
JsonMetadataDeserializer. deserialize(com.google.gson.JsonElement element, Type type, com.google.gson.JsonDeserializationContext context)
Deserializes a json object (equivalent to: Map) into a Metadata object. static Metadata
JsonMetadata. fromJson(Reader reader)
Read metadata from reader.Methods in org.apache.tika.metadata.serialization that return types with arguments of type Metadata Modifier and Type Method Description static List<Metadata>
JsonMetadataList. fromJson(Reader reader)
Read metadata from reader.Methods in org.apache.tika.metadata.serialization with parameters of type Metadata Modifier and Type Method Description void
JsonStreamingSerializer. add(Metadata metadata)
protected String[]
JsonMetadataSerializer. getNames(Metadata metadata)
Override to get a custom sort order or to filter names.com.google.gson.JsonElement
JsonMetadataSerializer. serialize(Metadata metadata, Type type, com.google.gson.JsonSerializationContext context)
Serializes a Metadata object into effectively Map. static void
JsonMetadata. toJson(Metadata metadata, Writer writer)
Serializes a Metadata object to Json.Method parameters in org.apache.tika.metadata.serialization with type arguments of type Metadata Modifier and Type Method Description static void
JsonMetadataList. toJson(List<Metadata> metadataList, Writer writer)
Serializes a Metadata object to Json. -
Uses of Metadata in org.apache.tika.mime
Methods in org.apache.tika.mime with parameters of type Metadata Modifier and Type Method Description MediaType
MimeTypes. 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.MediaType
ProbabilisticMimeDetectionSelector. 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>
RecursiveParserWrapper. getMetadata()
Deprecated.use aRecursiveParserWrapperHandler
insteadMethods in org.apache.tika.parser with parameters of type Metadata Modifier and Type Method Description void
DigestingParser.Digester. digest(InputStream is, Metadata m, ParseContext parseContext)
Digests an InputStream and sets the appropriate value(s) in the metadata.protected Parser
CompositeParser. getParser(Metadata metadata)
Returns the parser that best matches the given metadata.protected Parser
CompositeParser. getParser(Metadata metadata, ParseContext context)
String
PasswordProvider. getPassword(Metadata metadata)
Looks up the password for a document with the given metadata, and returns it for the Parser.void
AbstractParser. parse(InputStream stream, ContentHandler handler, Metadata metadata)
Deprecated.use theParser.parse(InputStream, ContentHandler, Metadata, ParseContext)
method insteadvoid
AutoDetectParser. parse(InputStream stream, ContentHandler handler, Metadata metadata)
void
AutoDetectParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
void
CompositeParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
Delegates the call to the matching component parser.void
CryptoParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
void
DelegatingParser. 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.void
DigestingParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
void
EmptyParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
void
ErrorParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
void
NetworkParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
void
Parser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
Parses a document stream into a sequence of XHTML SAX events.void
ParserDecorator. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
Delegates the method call to the decorated parser.void
ParserPostProcessor. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
Forwards the call to the delegated parser and post-processes the results as described above.void
RecursiveParserWrapper. parse(InputStream stream, ContentHandler recursiveParserWrapperHandler, Metadata metadata, ParseContext context)
Acts like a regular parser except it ignores the ContentHandler and it automatically sets/overwrites the embedded Parser in the ParseContext object.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.apple
Methods in org.apache.tika.parser.apple with parameters of type Metadata Modifier and Type Method Description void
AppleSingleFileParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
-
Uses of Metadata in org.apache.tika.parser.asm
Methods in org.apache.tika.parser.asm with parameters of type Metadata Modifier and Type Method Description void
ClassParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
-
Uses of Metadata in org.apache.tika.parser.audio
Methods in org.apache.tika.parser.audio with parameters of type Metadata Modifier and Type Method Description void
AudioParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
void
MidiParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
-
Uses of Metadata in org.apache.tika.parser.captioning.tf
Methods in org.apache.tika.parser.captioning.tf with parameters of type Metadata Modifier and Type Method Description protected URI
TensorflowRESTCaptioner. getApiUri(Metadata metadata)
List<CaptionObject>
TensorflowRESTCaptioner. recognise(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
-
Uses of Metadata in org.apache.tika.parser.chm
Methods in org.apache.tika.parser.chm with parameters of type Metadata Modifier and Type Method Description void
ChmParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
-
Uses of Metadata in org.apache.tika.parser.code
Methods in org.apache.tika.parser.code with parameters of type Metadata Modifier and Type Method Description void
SourceCodeParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
-
Uses of Metadata in org.apache.tika.parser.crypto
Methods in org.apache.tika.parser.crypto with parameters of type Metadata Modifier and Type Method Description void
Pkcs7Parser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
void
TSDParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
-
Uses of Metadata in org.apache.tika.parser.csv
Methods in org.apache.tika.parser.csv with parameters of type Metadata Modifier and Type Method Description void
TextAndCSVParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
-
Uses of Metadata in org.apache.tika.parser.ctakes
Methods in org.apache.tika.parser.ctakes that return Metadata Modifier and Type Method Description Metadata
CTAKESContentHandler. getMetadata()
Returns metadata that includes cTAKES annotations.Methods in org.apache.tika.parser.ctakes with parameters of type Metadata Modifier and Type Method Description void
CTAKESParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
Constructors in org.apache.tika.parser.ctakes with parameters of type Metadata Constructor Description CTAKESContentHandler(ContentHandler handler, Metadata metadata)
Creates a newCTAKESContentHandler
for the givenContentHandler
and Metadata objects.CTAKESContentHandler(ContentHandler handler, Metadata metadata, CTAKESConfig config)
Creates a newCTAKESContentHandler
for the givenContentHandler
and Metadata objects. -
Uses of Metadata in org.apache.tika.parser.dbf
Methods in org.apache.tika.parser.dbf with parameters of type Metadata Modifier and Type Method Description void
DBFParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
-
Uses of Metadata in org.apache.tika.parser.dif
Methods in org.apache.tika.parser.dif with parameters of type Metadata Modifier and Type Method Description protected ContentHandler
DIFParser. getContentHandler(ContentHandler handler, Metadata metadata, ParseContext context)
void
DIFParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
Constructors in org.apache.tika.parser.dif with parameters of type Metadata Constructor Description DIFContentHandler(ContentHandler delegate, Metadata 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 void
CompositeDigester. digest(InputStream is, Metadata m, ParseContext parseContext)
void
InputStreamDigester. digest(InputStream is, Metadata metadata, ParseContext parseContext)
-
Uses of Metadata in org.apache.tika.parser.dwg
Methods in org.apache.tika.parser.dwg with parameters of type Metadata Modifier and Type Method Description void
DWGParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
-
Uses of Metadata in org.apache.tika.parser.envi
Methods in org.apache.tika.parser.envi with parameters of type Metadata Modifier and Type Method Description void
EnviHeaderParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
-
Uses of Metadata in org.apache.tika.parser.epub
Methods in org.apache.tika.parser.epub with parameters of type Metadata Modifier and Type Method Description void
EpubContentParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
void
EpubParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
-
Uses of Metadata in org.apache.tika.parser.executable
Methods in org.apache.tika.parser.executable with parameters of type Metadata Modifier and Type Method Description void
ExecutableParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
void
ExecutableParser. parseELF(XHTMLContentHandler xhtml, Metadata metadata, InputStream stream, byte[] first4)
Parses a Unix ELF filevoid
ExecutableParser. parsePE(XHTMLContentHandler xhtml, Metadata metadata, InputStream stream, byte[] first4)
Parses a DOS or Windows PE file -
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 void
ExternalParser. 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.feed
Methods in org.apache.tika.parser.feed with parameters of type Metadata Modifier and Type Method Description void
FeedParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
-
Uses of Metadata in org.apache.tika.parser.font
Methods in org.apache.tika.parser.font with parameters of type Metadata Modifier and Type Method Description void
AdobeFontMetricParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
void
TrueTypeParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
-
Uses of Metadata in org.apache.tika.parser.gdal
Methods in org.apache.tika.parser.gdal with parameters of type Metadata Modifier and Type Method Description void
GDALParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
-
Uses of Metadata in org.apache.tika.parser.geo.topic
Methods in org.apache.tika.parser.geo.topic with parameters of type Metadata Modifier and Type Method Description void
GeoParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
-
Uses of Metadata in org.apache.tika.parser.geoinfo
Methods in org.apache.tika.parser.geoinfo with parameters of type Metadata Modifier and Type Method Description void
GeographicInformationParser. parse(InputStream inputStream, ContentHandler contentHandler, Metadata metadata, ParseContext parseContext)
-
Uses of Metadata in org.apache.tika.parser.grib
Methods in org.apache.tika.parser.grib with parameters of type Metadata Modifier and Type Method Description void
GribParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
-
Uses of Metadata in org.apache.tika.parser.hdf
Methods in org.apache.tika.parser.hdf with parameters of type Metadata Modifier and Type Method Description void
HDFParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
protected void
HDFParser. unravelStringMet(ucar.nc2.NetcdfFile ncFile, ucar.nc2.Group group, Metadata met)
-
Uses of Metadata in org.apache.tika.parser.html
Methods in org.apache.tika.parser.html with parameters of type Metadata Modifier and Type Method Description Charset
HtmlEncodingDetector. detect(InputStream input, Metadata metadata)
void
HtmlParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
-
Uses of Metadata in org.apache.tika.parser.html.charsetdetector
Methods in org.apache.tika.parser.html.charsetdetector with parameters of type Metadata Modifier and Type Method Description Charset
StandardHtmlEncodingDetector. detect(InputStream input, Metadata metadata)
-
Uses of Metadata in org.apache.tika.parser.hwp
Methods in org.apache.tika.parser.hwp with parameters of type Metadata Modifier and Type Method Description void
HwpTextExtractorV5. extract(InputStream source, Metadata metadata, XHTMLContentHandler xhtml)
extract Text from HWP Stream.void
HwpV5Parser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
-
Uses of Metadata in org.apache.tika.parser.image
Methods in org.apache.tika.parser.image with parameters of type Metadata Modifier and Type Method Description void
BPGParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
void
ICNSParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
void
ImageParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
void
PSDParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
void
TiffParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
void
WebPParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
Constructors in org.apache.tika.parser.image with parameters of type Metadata Constructor Description ImageMetadataExtractor(Metadata metadata)
ImageMetadataExtractor(Metadata metadata, org.apache.tika.parser.image.ImageMetadataExtractor.DirectoryHandler... handlers)
-
Uses of Metadata in org.apache.tika.parser.image.xmp
Methods in org.apache.tika.parser.image.xmp with parameters of type Metadata Modifier and Type Method Description static void
JempboxExtractor. extractDublinCore(org.apache.jempbox.xmp.XMPMetadata xmpMetadata, Metadata metadata)
Tries to extract Dublin Core schema from XMP.static void
JempboxExtractor. extractXMPMM(org.apache.jempbox.xmp.XMPMetadata xmp, Metadata metadata)
Extracts Media Management metadata from XMP.Constructors in org.apache.tika.parser.image.xmp with parameters of type Metadata Constructor Description JempboxExtractor(Metadata metadata)
-
Uses of Metadata in org.apache.tika.parser.iptc
Methods in org.apache.tika.parser.iptc with parameters of type Metadata Modifier and Type Method Description void
IptcAnpaParser. parse(InputStream stream, ContentHandler handler, Metadata metadata)
Deprecated.This method will be removed in Apache Tika 1.0.void
IptcAnpaParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
-
Uses of Metadata in org.apache.tika.parser.isatab
Methods in org.apache.tika.parser.isatab with parameters of type Metadata Modifier and Type Method Description void
ISArchiveParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
static void
ISATabUtils. parseAssay(InputStream stream, XHTMLContentHandler xhtml, Metadata metadata, ParseContext context)
static void
ISATabUtils. parseInvestigation(InputStream stream, XHTMLContentHandler handler, Metadata metadata, ParseContext context)
static void
ISATabUtils. parseInvestigation(InputStream stream, XHTMLContentHandler handler, Metadata metadata, ParseContext context, String studyFileName)
static void
ISATabUtils. parseStudy(InputStream stream, XHTMLContentHandler xhtml, Metadata metadata, ParseContext context)
-
Uses of Metadata in org.apache.tika.parser.iwork
Methods in org.apache.tika.parser.iwork with parameters of type Metadata Modifier and Type Method Description void
IWorkPackageParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
-
Uses of Metadata in org.apache.tika.parser.iwork.iwana
Methods in org.apache.tika.parser.iwork.iwana with parameters of type Metadata Modifier and Type Method Description void
IWork13PackageParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
-
Uses of Metadata in org.apache.tika.parser.jdbc
Methods in org.apache.tika.parser.jdbc with parameters of type Metadata Modifier and Type Method Description void
SQLite3Parser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
-
Uses of Metadata in org.apache.tika.parser.journal
Methods in org.apache.tika.parser.journal that return Metadata Modifier and Type Method Description Metadata
TEIDOMParser. parse(String source, ParseContext parseContext)
Methods in org.apache.tika.parser.journal with parameters of type Metadata Modifier and Type Method Description void
GrobidRESTParser. parse(String filePath, ContentHandler handler, Metadata metadata, ParseContext context)
void
JournalParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
-
Uses of Metadata in org.apache.tika.parser.jpeg
Methods in org.apache.tika.parser.jpeg with parameters of type Metadata Modifier and Type Method Description void
JpegParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
-
Uses of Metadata in org.apache.tika.parser.mail
Methods in org.apache.tika.parser.mail with parameters of type Metadata Modifier and Type Method Description static void
MailUtil. addPersonAndEmail(String string, Property personProperty, Property emailProperty, Metadata metadata)
This tries to split a "from" or "to" value into a person field and an email field.void
RFC822Parser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
static void
MailUtil. setPersonAndEmail(String string, Property personProperty, Property emailProperty, Metadata metadata)
This tries to split a "from" or "to" value into a person field and an email field. -
Uses of Metadata in org.apache.tika.parser.mat
Methods in org.apache.tika.parser.mat with parameters of type Metadata Modifier and Type Method Description void
MatParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
-
Uses of Metadata in org.apache.tika.parser.mbox
Methods in org.apache.tika.parser.mbox that return types with arguments of type Metadata Modifier and Type Method Description Map<Integer,Metadata>
MboxParser. getTrackingMetadata()
Methods in org.apache.tika.parser.mbox with parameters of type Metadata Modifier and Type Method Description void
MboxParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
void
OutlookPSTParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
-
Uses of Metadata in org.apache.tika.parser.microsoft
Fields in org.apache.tika.parser.microsoft declared as Metadata Modifier and Type Field Description protected Metadata
AbstractPOIFSExtractor. parentMetadata
protected Metadata
AbstractPOIFSExtractor. parentMetadata
protected Metadata
AbstractPOIFSExtractor. parentMetadata
protected Metadata
AbstractPOIFSExtractor. parentMetadata
Methods in org.apache.tika.parser.microsoft with parameters of type Metadata Modifier and Type Method Description static void
OutlookExtractor. addEvenIfNull(Property property, String value, Metadata metadata)
static void
SummaryExtractor. addMulti(Metadata metadata, Property property, String string)
MediaType
POIFSContainerDetector. detect(InputStream input, Metadata metadata)
void
EMFParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
void
JackcessParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
void
MSOwnerFileParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
Extracts owner from MS temp filevoid
OfficeParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
Extracts properties and text from an MS Document input streamprotected void
OfficeParser. parse(org.apache.poi.poifs.filesystem.DirectoryNode root, ParseContext context, Metadata metadata, XHTMLContentHandler xhtml)
void
OldExcelParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
Extracts properties and text from an MS Document input streamvoid
OutlookExtractor. parse(XHTMLContentHandler xhtml, Metadata metadata)
void
TNEFParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
Extracts properties and text from an MS Document input streamvoid
WMFParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
Constructors in org.apache.tika.parser.microsoft with parameters of type Metadata Constructor Description ExcelExtractor(ParseContext context, Metadata metadata)
HSLFExtractor(ParseContext context, Metadata metadata)
SummaryExtractor(Metadata metadata)
WordExtractor(ParseContext context, Metadata metadata)
-
Uses of Metadata in org.apache.tika.parser.microsoft.ooxml
Fields in org.apache.tika.parser.microsoft.ooxml declared as Metadata Modifier and Type Field Description protected Metadata
XSSFExcelExtractorDecorator. metadata
Methods in org.apache.tika.parser.microsoft.ooxml with parameters of type Metadata Modifier and Type Method Description void
MetadataExtractor. extract(Metadata metadata)
void
AbstractOOXMLExtractor. getXHTML(ContentHandler handler, Metadata metadata, ParseContext context)
void
OOXMLExtractor. getXHTML(ContentHandler handler, Metadata metadata, ParseContext context)
Parses the document into a sequence of XHTML SAX events sent to the given content handler.void
XSSFBExcelExtractorDecorator. getXHTML(ContentHandler handler, Metadata metadata, ParseContext context)
void
XSSFExcelExtractorDecorator. getXHTML(ContentHandler handler, Metadata metadata, ParseContext context)
protected Map<String,String>
AbstractOOXMLExtractor. loadLinkedRelationships(org.apache.poi.openxml4j.opc.PackagePart bodyPart, boolean includeInternal, Metadata metadata)
This is used by the SAX docx and pptx decorators to load hyperlinks and other linked objectsstatic void
OOXMLExtractorFactory. parse(InputStream stream, ContentHandler baseHandler, Metadata metadata, ParseContext context)
void
OOXMLParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
Constructors in org.apache.tika.parser.microsoft.ooxml with parameters of type Metadata Constructor Description SXSLFPowerPointExtractorDecorator(Metadata metadata, ParseContext context, XSLFEventBasedPowerPointExtractor extractor)
SXWPFWordExtractorDecorator(Metadata metadata, ParseContext context, XWPFEventBasedWordExtractor extractor)
XSLFPowerPointExtractorDecorator(Metadata metadata, ParseContext context, org.apache.poi.xslf.extractor.XSLFPowerPointExtractor extractor)
XWPFWordExtractorDecorator(Metadata metadata, ParseContext context, org.apache.poi.xwpf.extractor.XWPFWordExtractor extractor)
-
Uses of Metadata in org.apache.tika.parser.microsoft.ooxml.xwpf.ml2006
Methods in org.apache.tika.parser.microsoft.ooxml.xwpf.ml2006 with parameters of type Metadata Modifier and Type Method Description void
Word2006MLParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
-
Uses of Metadata in org.apache.tika.parser.microsoft.xml
Methods in org.apache.tika.parser.microsoft.xml with parameters of type Metadata Modifier and Type Method Description protected ContentHandler
AbstractXML2003Parser. getContentHandler(ContentHandler ch, Metadata md, ParseContext context)
protected ContentHandler
SpreadsheetMLParser. getContentHandler(ContentHandler ch, Metadata metadata, ParseContext context)
protected ContentHandler
WordMLParser. getContentHandler(ContentHandler ch, Metadata metadata, ParseContext context)
void
AbstractXML2003Parser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
protected abstract void
AbstractXML2003Parser. setContentType(Metadata contentType)
void
SpreadsheetMLParser. setContentType(Metadata metadata)
void
WordMLParser. setContentType(Metadata metadata)
-
Uses of Metadata in org.apache.tika.parser.mp3
Methods in org.apache.tika.parser.mp3 with parameters of type Metadata Modifier and Type Method Description void
Mp3Parser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
-
Uses of Metadata in org.apache.tika.parser.mp4
Methods in org.apache.tika.parser.mp4 with parameters of type Metadata Modifier and Type Method Description void
MP4Parser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
-
Uses of Metadata in org.apache.tika.parser.ner
Methods in org.apache.tika.parser.ner with parameters of type Metadata Modifier and Type Method Description void
NamedEntityParser. parse(InputStream inputStream, ContentHandler contentHandler, Metadata metadata, ParseContext parseContext)
-
Uses of Metadata in org.apache.tika.parser.netcdf
Methods in org.apache.tika.parser.netcdf with parameters of type Metadata Modifier and Type Method Description void
NetCDFParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
-
Uses of Metadata in org.apache.tika.parser.ocr
Methods in org.apache.tika.parser.ocr with parameters of type Metadata Modifier and Type Method Description void
TesseractOCRParser. parse(Image image, ContentHandler handler, Metadata metadata, ParseContext context)
void
TesseractOCRParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext parseContext)
-
Uses of Metadata in org.apache.tika.parser.odf
Methods in org.apache.tika.parser.odf with parameters of type Metadata Modifier and Type Method Description protected ContentHandler
OpenDocumentMetaParser. getContentHandler(ContentHandler ch, Metadata md, ParseContext context)
void
OpenDocumentContentParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
void
OpenDocumentMetaParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
void
OpenDocumentParser. parse(InputStream stream, ContentHandler baseHandler, Metadata metadata, ParseContext context)
-
Uses of Metadata in org.apache.tika.parser.pdf
Methods in org.apache.tika.parser.pdf with parameters of type Metadata Modifier and Type Method Description void
AccessChecker. check(Metadata metadata)
Checks to see if a document's content should be extracted based on metadata values and the value ofAccessChecker.allowAccessibility
in the constructor.void
PDFParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
-
Uses of Metadata in org.apache.tika.parser.pkg
Methods in org.apache.tika.parser.pkg that return Metadata Modifier and Type Method Description protected static Metadata
PackageParser. handleEntryMetadata(String name, Date createAt, Date modifiedAt, Long size, XHTMLContentHandler xhtml)
Methods in org.apache.tika.parser.pkg with parameters of type Metadata Modifier and Type Method Description boolean
CompressorParserOptions. decompressConcatenated(Metadata metadata)
MediaType
StreamingZipContainerDetector. detect(InputStream is, Metadata metadata)
MediaType
ZipContainerDetector. detect(InputStream input, Metadata metadata)
void
CompressorParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
void
PackageParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
void
RarParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
-
Uses of Metadata in org.apache.tika.parser.pot
Methods in org.apache.tika.parser.pot with parameters of type Metadata Modifier and Type Method Description void
PooledTimeSeriesParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
Parses a document stream into a sequence of XHTML SAX events. -
Uses of Metadata in org.apache.tika.parser.prt
Methods in org.apache.tika.parser.prt with parameters of type Metadata Modifier and Type Method Description void
PRTParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
-
Uses of Metadata in org.apache.tika.parser.recognition
Methods in org.apache.tika.parser.recognition with parameters of type Metadata Modifier and Type Method Description void
AgeRecogniser. parse(InputStream inputStream, ContentHandler handler, Metadata metadata, ParseContext context)
void
ObjectRecognitionParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
List<? extends RecognisedObject>
ObjectRecogniser. recognise(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
Recognise the objects in the stream -
Uses of Metadata in org.apache.tika.parser.recognition.tf
Methods in org.apache.tika.parser.recognition.tf with parameters of type Metadata Modifier and Type Method Description protected URI
TensorflowRESTRecogniser. getApiUri(Metadata metadata)
protected URI
TensorflowRESTVideoRecogniser. getApiUri(Metadata metadata)
List<RecognisedObject>
TensorflowImageRecParser. recognise(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
List<RecognisedObject>
TensorflowRESTRecogniser. recognise(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
-
Uses of Metadata in org.apache.tika.parser.rtf
Methods in org.apache.tika.parser.rtf with parameters of type Metadata Modifier and Type Method Description void
RTFParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
-
Uses of Metadata in org.apache.tika.parser.sas
Methods in org.apache.tika.parser.sas with parameters of type Metadata Modifier and Type Method Description void
SAS7BDATParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
-
Uses of Metadata in org.apache.tika.parser.sentiment
Methods in org.apache.tika.parser.sentiment with parameters of type Metadata Modifier and Type Method Description void
SentimentAnalysisParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
Performs the parse -
Uses of Metadata in org.apache.tika.parser.strings
Methods in org.apache.tika.parser.strings with parameters of type Metadata Modifier and Type Method Description void
Latin1StringsParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
void
StringsParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
-
Uses of Metadata in org.apache.tika.parser.txt
Methods in org.apache.tika.parser.txt with parameters of type Metadata Modifier and Type Method Description Charset
Icu4jEncodingDetector. detect(InputStream input, Metadata metadata)
Charset
UniversalEncodingDetector. detect(InputStream input, Metadata metadata)
void
TXTParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
-
Uses of Metadata in org.apache.tika.parser.video
Methods in org.apache.tika.parser.video with parameters of type Metadata Modifier and Type Method Description void
FLVParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
-
Uses of Metadata in org.apache.tika.parser.wordperfect
Methods in org.apache.tika.parser.wordperfect with parameters of type Metadata Modifier and Type Method Description void
QuattroProParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
void
WordPerfectParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
-
Uses of Metadata in org.apache.tika.parser.xliff
Methods in org.apache.tika.parser.xliff with parameters of type Metadata Modifier and Type Method Description void
XLIFF12Parser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
void
XLZParser. parse(InputStream stream, ContentHandler baseHandler, Metadata metadata, ParseContext context)
-
Uses of Metadata in org.apache.tika.parser.xml
Methods in org.apache.tika.parser.xml with parameters of type Metadata Modifier and Type Method Description protected ContentHandler
DcXMLParser. getContentHandler(ContentHandler handler, Metadata metadata, ParseContext context)
protected ContentHandler
FictionBookParser. getContentHandler(ContentHandler handler, Metadata metadata, ParseContext context)
protected ContentHandler
XMLParser. getContentHandler(ContentHandler handler, Metadata metadata, ParseContext context)
void
XMLParser. parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
Constructors in org.apache.tika.parser.xml with parameters of type Metadata Constructor Description AttributeDependantMetadataHandler(Metadata metadata, String nameHoldingAttribute, String namePrefix)
AttributeMetadataHandler(String uri, String localName, Metadata metadata, String name)
AttributeMetadataHandler(String uri, String localName, Metadata metadata, Property property)
ElementMetadataHandler(String uri, String localName, Metadata metadata, String name)
Constructor for string metadata keys.ElementMetadataHandler(String uri, String localName, Metadata metadata, String name, boolean allowDuplicateValues, boolean allowEmptyValues)
Constructor for string metadata keys which allows change of behavior for duplicate and empty entry values.ElementMetadataHandler(String uri, String localName, Metadata metadata, Property targetProperty)
Constructor for Property metadata keys.ElementMetadataHandler(String uri, String localName, Metadata metadata, Property targetProperty, boolean allowDuplicateValues, boolean allowEmptyValues)
Constructor for Property metadata keys which allows change of behavior for duplicate and empty entry values.MetadataHandler(Metadata metadata, String name)
Deprecated.MetadataHandler(Metadata metadata, Property property)
Deprecated. -
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. metadataList
Methods 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 void
AbstractRecursiveParserWrapperHandler. endDocument(ContentHandler contentHandler, Metadata metadata)
This is called after the full parse has completed.void
RecursiveParserWrapperHandler. endDocument(ContentHandler contentHandler, Metadata metadata)
void
AbstractRecursiveParserWrapperHandler. endEmbeddedDocument(ContentHandler contentHandler, Metadata metadata)
This is called after parsing each embedded document.void
RecursiveParserWrapperHandler. endEmbeddedDocument(ContentHandler contentHandler, Metadata metadata)
This is called after parsing an embedded document.void
XMPContentHandler. metadata(Metadata metadata)
void
AbstractRecursiveParserWrapperHandler. startEmbeddedDocument(ContentHandler contentHandler, Metadata metadata)
This is called before parsing each embedded document.void
RecursiveParserWrapperHandler. 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.server
Methods in org.apache.tika.server that return types with arguments of type Metadata Modifier and Type Method Description List<Metadata>
MetadataList. getMetadata()
Methods in org.apache.tika.server with parameters of type Metadata Modifier and Type Method Description InputStream
DefaultInputStreamFactory. getInputSteam(InputStream is, Metadata metadata, javax.ws.rs.core.HttpHeaders httpHeaders)
InputStream
InputStreamFactory. getInputSteam(InputStream is, Metadata metadata, javax.ws.rs.core.HttpHeaders httpHeaders)
InputStream
URLEnabledInputStreamFactory. getInputSteam(InputStream is, Metadata metadata, javax.ws.rs.core.HttpHeaders httpHeaders)
Constructor parameters in org.apache.tika.server with type arguments of type Metadata Constructor Description MetadataList(List<Metadata> metadata)
-
Uses of Metadata in org.apache.tika.server.resource
Methods in org.apache.tika.server.resource with parameters of type Metadata Modifier and Type Method Description static void
TikaResource. fillMetadata(Parser parser, Metadata metadata, ParseContext context, javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders)
static InputStream
TikaResource. getInputStream(InputStream is, Metadata metadata, javax.ws.rs.core.HttpHeaders headers)
static void
TikaResource. logRequest(org.slf4j.Logger logger, javax.ws.rs.core.UriInfo info, Metadata metadata)
static void
UnpackerResource. metadataToCsv(Metadata metadata, OutputStream outputStream)
static void
TikaResource. parse(Parser parser, org.slf4j.Logger logger, String path, InputStream inputStream, ContentHandler handler, Metadata metadata, ParseContext parseContext)
Use this to call a parser and unify exception handling.javax.ws.rs.core.StreamingOutput
TikaResource. produceText(InputStream is, Metadata metadata, javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders, javax.ws.rs.core.UriInfo info)
-
Uses of Metadata in org.apache.tika.server.writer
Methods in org.apache.tika.server.writer with parameters of type Metadata Modifier and Type Method Description long
CSVMessageBodyWriter. getSize(Metadata data, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
long
JSONMessageBodyWriter. getSize(Metadata data, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
long
TextMessageBodyWriter. getSize(Metadata data, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
long
XMPMessageBodyWriter. getSize(Metadata data, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
void
CSVMessageBodyWriter. writeTo(Metadata metadata, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream)
void
JSONMessageBodyWriter. writeTo(Metadata metadata, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream)
void
TextMessageBodyWriter. writeTo(Metadata metadata, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream)
void
XMPMessageBodyWriter. writeTo(Metadata metadata, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream)
-
Uses of Metadata in org.apache.tika.utils
Methods in org.apache.tika.utils that return Metadata Modifier and Type Method Description static Metadata
ParserUtils. 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 Metadata
ParserUtils. cloneMetadata(Metadata m)
Does a deep clone of a Metadata object.static void
ParserUtils. recordParserDetails(Parser parser, Metadata metadata)
static void
ParserUtils. recordParserFailure(Parser parser, Throwable failure, Metadata metadata)
-
Uses of Metadata in org.apache.tika.xmp
Subclasses of Metadata in org.apache.tika.xmp Modifier and Type Class Description class
XMPMetadata
Provides a conversion of the Metadata map from Tika to the XMP data model by also providing the Metadata API for clients to ease transition.Methods in org.apache.tika.xmp with parameters of type Metadata Modifier and Type Method Description void
XMPMetadata. process(Metadata meta)
void
XMPMetadata. process(Metadata meta, String mimetype)
Converts the Metadata information to XMP.Constructors in org.apache.tika.xmp with parameters of type Metadata Constructor Description XMPMetadata(Metadata meta)
XMPMetadata(Metadata meta, String mimetype)
Initializes the data by converting the Metadata information to XMP. -
Uses of Metadata in org.apache.tika.xmp.convert
Methods in org.apache.tika.xmp.convert with parameters of type Metadata Modifier and Type Method Description static com.adobe.xmp.XMPMeta
TikaToXMP. convert(Metadata tikaMetadata)
static com.adobe.xmp.XMPMeta
TikaToXMP. convert(Metadata tikaMetadata, String mimetype)
Convert the given Tika metadata map to XMP object.abstract com.adobe.xmp.XMPMeta
AbstractConverter. process(Metadata metadata)
com.adobe.xmp.XMPMeta
GenericConverter. process(Metadata metadata)
com.adobe.xmp.XMPMeta
ITikaToXMPConverter. process(Metadata metadata)
Converts a TikaMetadata
-object into anXMPMeta
containing the useful properties.com.adobe.xmp.XMPMeta
MSOfficeBinaryConverter. process(Metadata metadata)
com.adobe.xmp.XMPMeta
MSOfficeXMLConverter. process(Metadata metadata)
com.adobe.xmp.XMPMeta
OpenDocumentConverter. process(Metadata metadata)
com.adobe.xmp.XMPMeta
RTFConverter. process(Metadata metadata)
void
AbstractConverter. setMetadata(Metadata metadata)
-