Uses of Class
org.apache.tika.exception.TikaException
Packages that use TikaException
Package
Description
Apache Tika.
Tika configuration tools.
Media type detection.
Tika exception.
Extraction of component documents.
Forked parser.
IO utilities.
Media type information.
Tika parsers.
External parser process.
SAX utilities.
Utilities.
-
Uses of TikaException in org.apache.tika
Methods in org.apache.tika that throw TikaExceptionModifier and TypeMethodDescriptionTika.parseToString(File file) Parses the given file and returns the extracted text content.Tika.parseToString(InputStream stream) Parses the given document and returns the extracted text content.Tika.parseToString(InputStream stream, Metadata metadata) Parses the given document and returns the extracted text content.Tika.parseToString(InputStream stream, Metadata metadata, int maxLength) Parses the given document and returns the extracted text content.Tika.parseToString(URL url) Parses the resource at the given URL and returns the extracted text content.Tika.parseToString(Path path) Parses the file at the given path and returns the extracted text content. -
Uses of TikaException in org.apache.tika.config
Methods in org.apache.tika.config that throw TikaExceptionModifier and TypeMethodDescriptionstatic <T> Param<T>Param.load(InputStream stream) voidParam.save(OutputStream stream) Constructors in org.apache.tika.config that throw TikaExceptionModifierConstructorDescriptionCreates a default Tika configuration.TikaConfig(File file) TikaConfig(File file, ServiceLoader loader) TikaConfig(InputStream stream) TikaConfig(String file) TikaConfig(URL url) TikaConfig(URL url, ClassLoader loader) TikaConfig(URL url, ServiceLoader loader) TikaConfig(Path path) TikaConfig(Path path, ServiceLoader loader) TikaConfig(Document document) TikaConfig(Document document, ServiceLoader loader) TikaConfig(Element element) TikaConfig(Element element, ClassLoader loader) -
Uses of TikaException in org.apache.tika.detect
Constructors in org.apache.tika.detect that throw TikaExceptionModifierConstructorDescriptionAutoDetectReader(InputStream stream) AutoDetectReader(InputStream stream, Metadata metadata) AutoDetectReader(InputStream stream, Metadata metadata, ServiceLoader loader) AutoDetectReader(InputStream stream, Metadata metadata, EncodingDetector encodingDetector) -
Uses of TikaException in org.apache.tika.embedder
Methods in org.apache.tika.embedder that throw TikaExceptionModifier and TypeMethodDescriptionvoidEmbedder.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. -
Uses of TikaException in org.apache.tika.exception
Subclasses of TikaException in org.apache.tika.exceptionModifier and TypeClassDescriptionclassException to be thrown when a document does not allow content extraction.classThis exception should be thrown when the parse absolutely, positively has to stop.classclassTika Config Exception is an exception to occur when there is an error in Tika config file and/or one or more of the parsers failed to initialize from that erroneous config.classclassParsers should throw this exception when they encounter a file format that they do not support.classException thrown by the AutoDetectParser when a file contains zero-bytes. -
Uses of TikaException in org.apache.tika.extractor
Methods in org.apache.tika.extractor that throw TikaExceptionModifier and TypeMethodDescriptionvoidContainerExtractor.extract(TikaInputStream stream, ContainerExtractor recurseExtractor, EmbeddedResourceHandler handler) Processes a container file, and extracts all the embedded resources from within it.voidParserContainerExtractor.extract(TikaInputStream stream, ContainerExtractor recurseExtractor, EmbeddedResourceHandler handler) -
Uses of TikaException in org.apache.tika.fork
Methods in org.apache.tika.fork that throw TikaExceptionModifier and TypeMethodDescriptionParserFactoryFactory.build()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 TikaException in org.apache.tika.io
Subclasses of TikaException in org.apache.tika.ioMethods in org.apache.tika.io that throw TikaExceptionModifier and TypeMethodDescriptionvoidTemporaryResources.dispose()Calls theTemporaryResources.close()method and wraps the potentialIOExceptioninto aTikaExceptionfor convenience when used within Tika. -
Uses of TikaException in org.apache.tika.language.translate
Methods in org.apache.tika.language.translate that throw TikaExceptionModifier and TypeMethodDescriptionTranslate, using the first available service-loaded translatorTranslate, using the first available service-loaded translatorTranslate text to the given language This method attempts to auto-detect the source language of the text.Translate text between given languages. -
Uses of TikaException in org.apache.tika.metadata.filter
Methods in org.apache.tika.metadata.filter that throw TikaExceptionModifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidabstract voidvoid -
Uses of TikaException in org.apache.tika.mime
Subclasses of TikaException in org.apache.tika.mimeModifier and TypeClassDescriptionclassA class to encapsulate MimeType related exceptions.Methods in org.apache.tika.mime that throw TikaExceptionModifier and TypeMethodDescriptionstatic voidMimeTypesReader.setPoolSize(int poolSize) Set the pool size for cached XML parsers. -
Uses of TikaException in org.apache.tika.parser
Methods in org.apache.tika.parser that throw TikaExceptionModifier and TypeMethodDescriptionAutoDetectParserFactory.build()abstract ParserParserFactory.build()ParseContext.getDocumentBuilder()Returns the DOM builder specified in this parsing context.ParseContext.getSAXParser()Returns the SAX parser specified in this parsing context.ParseContext.getTransformer()Returns the transformer specified in this parsing context.ParseContext.getXMLReader()Returns the XMLReader specified in this parsing context.voidAbstractParser.parse(InputStream stream, ContentHandler handler, Metadata metadata) Deprecated.voidAutoDetectParser.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) 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) -
Uses of TikaException in org.apache.tika.parser.external
Methods in org.apache.tika.parser.external that throw TikaExceptionModifier and TypeMethodDescriptionstatic voidExternalParsersFactory.attachExternalParsers(TikaConfig config) static List<ExternalParser>ExternalParsersFactory.create()static List<ExternalParser>ExternalParsersFactory.create(String filename, ServiceLoader loader) static List<ExternalParser>static List<ExternalParser>ExternalParsersFactory.create(ServiceLoader loader) 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.static List<ExternalParser>ExternalParsersConfigReader.read(InputStream stream) static List<ExternalParser>static List<ExternalParser>Constructors in org.apache.tika.parser.external that throw TikaException -
Uses of TikaException in org.apache.tika.parser.external2
Methods in org.apache.tika.parser.external2 that throw TikaExceptionModifier and TypeMethodDescriptionvoidExternalParser.parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context) -
Uses of TikaException in org.apache.tika.parser.multiple
Methods in org.apache.tika.parser.multiple that throw TikaExceptionModifier and TypeMethodDescriptionvoidAbstractMultipleParser.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. -
Uses of TikaException in org.apache.tika.pipes
Methods in org.apache.tika.pipes that throw TikaExceptionConstructors in org.apache.tika.pipes that throw TikaExceptionModifierConstructorDescriptionPipesServer(Path tikaConfigPath, InputStream in, PrintStream out, long maxForEmitBatchBytes, long serverParseTimeoutMillis, long serverWaitTimeoutMillis) -
Uses of TikaException in org.apache.tika.pipes.async
Constructors in org.apache.tika.pipes.async that throw TikaExceptionModifierConstructorDescriptionAsyncProcessor(Path tikaConfigPath) AsyncProcessor(Path tikaConfigPath, PipesIterator pipesIterator) -
Uses of TikaException in org.apache.tika.pipes.emitter
Subclasses of TikaException in org.apache.tika.pipes.emitter -
Uses of TikaException in org.apache.tika.pipes.fetcher
Subclasses of TikaException in org.apache.tika.pipes.fetcherModifier and TypeClassDescriptionclassIf something goes wrong in parsing the fetcher stringMethods in org.apache.tika.pipes.fetcher that throw TikaException -
Uses of TikaException in org.apache.tika.pipes.fetcher.fs
Methods in org.apache.tika.pipes.fetcher.fs that throw TikaExceptionModifier and TypeMethodDescription -
Uses of TikaException in org.apache.tika.pipes.fetcher.url
Methods in org.apache.tika.pipes.fetcher.url that throw TikaExceptionModifier and TypeMethodDescription -
Uses of TikaException in org.apache.tika.renderer
Methods in org.apache.tika.renderer that throw TikaExceptionModifier and TypeMethodDescriptionCompositeRenderer.render(InputStream is, Metadata metadata, ParseContext parseContext, RenderRequest... requests) Renderer.render(InputStream is, Metadata metadata, ParseContext parseContext, RenderRequest... requests) -
Uses of TikaException in org.apache.tika.sax
Methods in org.apache.tika.sax that throw TikaExceptionModifier and TypeMethodDescriptionvoidSecureContentHandler.throwIfCauseOf(SAXException e) Converts the givenSAXExceptionto a correspondingTikaExceptionif it's caused by this instance detecting a zip bomb. -
Uses of TikaException in org.apache.tika.utils
Methods in org.apache.tika.utils that throw TikaExceptionModifier and TypeMethodDescriptionstatic DocumentXMLReaderUtils.buildDOM(InputStream is) Builds a Document with a DocumentBuilder from the poolstatic DocumentXMLReaderUtils.buildDOM(InputStream is, ParseContext context) This checks context for a user specifiedDocumentBuilder.static DocumentXMLReaderUtils.buildDOM(Reader reader, ParseContext context) This checks context for a user specifiedDocumentBuilder.static DocumentBuilds a Document with a DocumentBuilder from the poolstatic DocumentBuilds a Document with a DocumentBuilder from the poolstatic DocumentBuilderXMLReaderUtils.getDocumentBuilder()Returns the DOM builder specified in this parsing context.static SAXParserXMLReaderUtils.getSAXParser()Returns the SAX parser specified in this parsing context.static TransformerXMLReaderUtils.getTransformer()Returns a new transformerstatic XMLReaderXMLReaderUtils.getXMLReader()Returns the XMLReader specified in this parsing context.static voidXMLReaderUtils.parseSAX(InputStream is, ContentHandler contentHandler, ParseContext context) This checks context for a user specifiedSAXParser.static voidXMLReaderUtils.parseSAX(Reader reader, ContentHandler contentHandler, ParseContext context) This checks context for a user specifiedSAXParser.static voidXMLReaderUtils.setPoolSize(int poolSize) Set the pool size for cached XML parsers.
Parser.parse(InputStream, ContentHandler, Metadata, ParseContext)method instead