Deprecated API


Contents
Deprecated Classes
org.apache.tika.parser.xml.MetadataHandler
          Use the AttributeMetadataHandler and ElementMetadataHandler classes instead 
org.apache.tika.parser.opendocument.OpenOfficeParser
          Use the OpenDocumentParser class instead. This class will be removed in Apache Tika 1.0. 
 

Deprecated Methods
org.apache.tika.mime.MimeTypes.getMimeType(File)
          Use Tika.detect(File) instead 
org.apache.tika.mime.MimeTypes.getMimeType(String)
          Use Tika.detect(String) instead 
org.apache.tika.config.TikaConfig.getParser(MediaType)
          Use the TikaConfig.getParser() method instead 
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.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.AbstractParser.parse(InputStream, ContentHandler, Metadata)
          use the Parser.parse(InputStream, ContentHandler, Metadata, ParseContext) method instead 
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) 
 



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