Uses of Class
org.apache.tika.exception.TikaException
-
Packages that use TikaException Package Description org.apache.tika Apache Tika.org.apache.tika.config Tika configuration tools.org.apache.tika.detect Media type detection.org.apache.tika.embedder org.apache.tika.exception Tika exception.org.apache.tika.extractor Extraction of component documents.org.apache.tika.fork Forked parser.org.apache.tika.io IO utilities.org.apache.tika.language.translate org.apache.tika.metadata.filter org.apache.tika.mime Media type information.org.apache.tika.parser Tika parsers.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.async 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 TikaException in org.apache.tika
Methods in org.apache.tika that throw TikaException Modifier and Type Method Description StringTika. parseToString(File file)Parses the given file and returns the extracted text content.StringTika. parseToString(InputStream stream)Parses the given document 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.StringTika. parseToString(URL url)Parses the resource at the given URL and returns the extracted text content.StringTika. 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 TikaException Modifier and Type Method Description static <T> Param<T>Param. load(InputStream stream)voidParam. save(OutputStream stream)Constructors in org.apache.tika.config that throw TikaException Constructor Description TikaConfig()Creates 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 TikaException Constructor Description AutoDetectReader(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 TikaException 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. -
Uses of TikaException in org.apache.tika.exception
Subclasses of TikaException in org.apache.tika.exception Modifier and Type Class Description classAccessPermissionExceptionException to be thrown when a document does not allow content extraction.classCorruptedFileExceptionThis exception should be thrown when the parse absolutely, positively has to stop.classEncryptedDocumentExceptionclassTikaConfigExceptionTika 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.classTikaMemoryLimitExceptionclassUnsupportedFormatExceptionParsers should throw this exception when they encounter a file format that they do not support.classZeroByteFileExceptionException 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 TikaException Modifier and Type Method Description voidContainerExtractor. 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 TikaException Modifier and Type Method Description ParserFactoryParserFactoryFactory. 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.io Modifier and Type Class Description static classEndianUtils.BufferUnderrunExceptionMethods in org.apache.tika.io that throw TikaException Modifier and Type Method Description voidTemporaryResources. 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 TikaException Modifier and Type Method Description StringDefaultTranslator. translate(String text, String targetLanguage)Translate, using the first available service-loaded translatorStringDefaultTranslator. translate(String text, String sourceLanguage, String targetLanguage)Translate, using the first available service-loaded translatorStringTranslator. translate(String text, String targetLanguage)Translate text to the given language This method attempts to auto-detect the source language of the text.StringTranslator. translate(String text, String sourceLanguage, String targetLanguage)Translate text between given languages. -
Uses of TikaException in org.apache.tika.metadata.filter
Methods in org.apache.tika.metadata.filter that throw TikaException Modifier and Type Method Description voidCaptureGroupMetadataFilter. filter(Metadata metadata)voidClearByAttachmentTypeMetadataFilter. 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 TikaException in org.apache.tika.mime
Subclasses of TikaException in org.apache.tika.mime Modifier and Type Class Description classMimeTypeExceptionA class to encapsulate MimeType related exceptions.Methods in org.apache.tika.mime that throw TikaException Modifier and Type Method Description static 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 TikaException Modifier and Type Method Description ParserAutoDetectParserFactory. build()abstract ParserParserFactory. build()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)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 TikaException Modifier and Type Method Description static voidExternalParsersFactory. attachExternalParsers(TikaConfig config)static List<ExternalParser>ExternalParsersFactory. create()static List<ExternalParser>ExternalParsersFactory. create(String filename, ServiceLoader loader)static List<ExternalParser>ExternalParsersFactory. create(URL... urls)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>ExternalParsersConfigReader. read(Document document)static List<ExternalParser>ExternalParsersConfigReader. read(Element element)Constructors in org.apache.tika.parser.external that throw TikaException Constructor Description CompositeExternalParser()CompositeExternalParser(MediaTypeRegistry registry) -
Uses of TikaException in org.apache.tika.parser.external2
Methods in org.apache.tika.parser.external2 that throw TikaException Modifier and Type Method Description voidExternalParser. 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 TikaException Modifier and Type Method Description 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. -
Uses of TikaException in org.apache.tika.pipes
Methods in org.apache.tika.pipes that throw TikaException Modifier and Type Method Description protected voidPipesServer. initializeResources()Constructors in org.apache.tika.pipes that throw TikaException Constructor Description PipesServer(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 TikaException Constructor Description AsyncProcessor(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 Modifier and Type Class Description classTikaEmitterException -
Uses of TikaException in org.apache.tika.pipes.fetcher
Subclasses of TikaException in org.apache.tika.pipes.fetcher Modifier and Type Class Description classFetcherStringExceptionIf something goes wrong in parsing the fetcher stringMethods in org.apache.tika.pipes.fetcher that throw TikaException Modifier and Type Method Description InputStreamEmptyFetcher. fetch(String fetchKey, Metadata metadata, ParseContext parseContext)InputStreamFetcher. fetch(String fetchKey, Metadata metadata, ParseContext parseContext)default InputStreamRangeFetcher. fetch(String fetchKey, long startOffset, long endOffset, Metadata metadata)InputStreamRangeFetcher. fetch(String fetchKey, long startOffset, long endOffset, Metadata metadata, ParseContext parseContext)FetcherFetcherManager. getFetcher(String fetcherName) -
Uses of TikaException in org.apache.tika.pipes.fetcher.fs
Methods in org.apache.tika.pipes.fetcher.fs that throw TikaException Modifier and Type Method Description InputStreamFileSystemFetcher. fetch(String fetchKey, Metadata metadata, ParseContext parseContext) -
Uses of TikaException in org.apache.tika.pipes.fetcher.url
Methods in org.apache.tika.pipes.fetcher.url that throw TikaException Modifier and Type Method Description InputStreamUrlFetcher. fetch(String fetchKey, Metadata metadata, ParseContext parseContext) -
Uses of TikaException in org.apache.tika.renderer
Methods in org.apache.tika.renderer that throw TikaException 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) -
Uses of TikaException in org.apache.tika.sax
Methods in org.apache.tika.sax that throw TikaException Modifier and Type Method Description voidSecureContentHandler. 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 TikaException Modifier and Type Method Description static 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 DocumentXMLReaderUtils. buildDOM(String uriString)Builds a Document with a DocumentBuilder from the poolstatic DocumentXMLReaderUtils. buildDOM(Path path)Builds a Document with a DocumentBuilder from the poolstatic DocumentBuilderXMLReaderUtils. getDocumentBuilder()Returns the DOM builder specified in this parsing context.static DocumentBuilderXMLReaderUtils. getDocumentBuilder(ParseContext context)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 TransformerXMLReaderUtils. getTransformer(ParseContext context)Returns the transformer specified in this parsing context.static 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.
-