Deprecated API


Contents
Deprecated Classes
org.apache.tika.detect.ContainerAwareDetector
          Use the DefaultDetector class instead 
org.apache.tika.parser.ExternalParser
          Use the more advanced ExternalParser instead 
org.apache.tika.parser.xml.MetadataHandler
          Use the AttributeMetadataHandler and ElementMetadataHandler classes instead 
org.apache.tika.metadata.MetadataHelper
          Use TikaInputStream instead 
org.apache.tika.parser.opendocument.OpenOfficeParser
          Use the OpenDocumentParser class instead. This class will be removed in Apache Tika 1.0. 
org.apache.tika.utils.ParseUtils
          Use the Tika facade class instead. 
org.apache.tika.io.TemporaryFiles
          Use the TemporaryResources class instead 
 

Deprecated Methods
org.apache.tika.io.TikaInputStream.get(InputStream, TemporaryFiles)
          Use the TikaInputStream.get(InputStream, TemporaryResources) instead 
org.apache.tika.config.TikaConfig.getDefaultConfig(Parser)
          This method will be removed in Apache Tika 1.0 
org.apache.tika.mime.MimeTypes.getMimeType(byte[])
          Use the Tika.detect(byte[]) method 
org.apache.tika.mime.MimeTypes.getMimeType(File)
          Use the Tika.detect(File) method 
org.apache.tika.mime.MimeTypes.getMimeType(InputStream)
          Use the Tika.detect(InputStream) method 
org.apache.tika.mime.MimeTypes.getMimeType(String)
          Use the Tika.detect(String) method 
org.apache.tika.mime.MimeTypes.getMimeType(String, byte[])
          Use the Tika.detect(byte[], String) method 
org.apache.tika.mime.MimeTypes.getMimeType(String, InputStream)
          Use the Tika.detect(InputStream,String) method 
org.apache.tika.mime.MimeTypes.getMimeType(URL)
          Use the Tika.detect(URL) method 
org.apache.tika.utils.ParseUtils.getParser(File, TikaConfig)
            
org.apache.tika.config.TikaConfig.getParser(MediaType)
          Use the TikaConfig.getParser() method instead 
org.apache.tika.utils.ParseUtils.getParser(String, TikaConfig)
            
org.apache.tika.utils.ParseUtils.getParser(URL, TikaConfig)
            
org.apache.tika.config.TikaConfig.getParsers()
          Use the TikaConfig.getParser() method instead 
org.apache.tika.utils.ParseUtils.getStringContent(File, TikaConfig)
          Use the Tika.parseToString(File) method 
org.apache.tika.utils.ParseUtils.getStringContent(File, TikaConfig, String)
          Use the Tika.parseToString(File) method 
org.apache.tika.utils.ParseUtils.getStringContent(InputStream, TikaConfig, String)
          Use the Tika.parseToString(InputStream, Metadata) method 
org.apache.tika.utils.ParseUtils.getStringContent(URL, TikaConfig)
          Use the Tika.parseToString(URL) method 
org.apache.tika.utils.ParseUtils.getStringContent(URL, TikaConfig, String)
          Use the Tika.parseToString(URL) method 
org.apache.tika.mime.MimeTypes.getType(String, String, byte[])
          Use the Tika#detect(InputStream, Metadata)) method 
org.apache.tika.mime.MimeTypes.getType(URL)
          Use the Tika.detect(URL) method 
org.apache.tika.parser.html.HtmlParser.isDiscardElement(String)
          Use the HtmlMapper mechanism to customize the HTML mapping. This method will be removed in Tika 1.0. 
org.apache.tika.sax.SafeContentHandler.isInvalid(char)
          Use SafeContentHandler.isInvalid(int) instead 
org.apache.tika.parser.html.HtmlParser.mapSafeAttribute(String, String)
          Use the HtmlMapper mechanism to customize the HTML mapping. This method will be removed in Tika 1.0. 
org.apache.tika.parser.html.HtmlParser.mapSafeElement(String)
          Use the HtmlMapper mechanism to customize the HTML mapping. This method will be removed in Tika 1.0. 
org.apache.tika.parser.Parser.parse(InputStream, ContentHandler, Metadata)
          This method will be removed in Apache Tika 1.0. 
org.apache.tika.parser.AutoDetectParser.setConfig(TikaConfig)
          This method will be removed in Tika 1.0 
org.apache.tika.io.IOUtils.toByteArray(String)
          Use String.getBytes() 
org.apache.tika.io.IOUtils.toString(byte[])
          Use String.String(byte[]) 
org.apache.tika.io.IOUtils.toString(byte[], String)
          Use String.String(byte[],String) 
org.apache.tika.io.IOUtils.write(StringBuffer, OutputStream)
          replaced by write(CharSequence, OutputStream) 
org.apache.tika.io.IOUtils.write(StringBuffer, OutputStream, String)
          replaced by write(CharSequence, OutputStream, String) 
org.apache.tika.io.IOUtils.write(StringBuffer, Writer)
          replaced by write(CharSequence, Writer) 
 

Deprecated Constructors
org.apache.tika.parser.ParsingReader(Parser, InputStream, Metadata)
          This method will be removed in Apache Tika 1.0 
org.apache.tika.parser.ParsingReader(Parser, InputStream, Metadata, Executor)
          This method will be removed in Apache Tika 1.0 
org.apache.tika.config.TikaConfig(Document, Parser)
          This method will be removed in Apache Tika 1.0 
org.apache.tika.config.TikaConfig(Element, Parser)
          This method will be removed in Apache Tika 1.0 
org.apache.tika.config.TikaConfig(InputStream, Parser)
          This method will be removed in Apache Tika 1.0 
 



Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.