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. 
org.apache.tika.metadata.XMPDM.ChannelTypePropertyConverter
          Experimental method, will change shortly 
 

Deprecated Fields
org.apache.tika.metadata.MSOffice.APPLICATION_NAME
           
org.apache.tika.metadata.MSOffice.APPLICATION_VERSION
           
org.apache.tika.metadata.MSOffice.AUTHOR
           
org.apache.tika.metadata.MSOffice.CATEGORY
           
org.apache.tika.metadata.IPTC.CATEGORY
            
org.apache.tika.metadata.MSOffice.CHARACTER_COUNT
           
org.apache.tika.metadata.MSOffice.CHARACTER_COUNT_WITH_SPACES
           
org.apache.tika.metadata.MSOffice.COMMENTS
           
org.apache.tika.metadata.MSOffice.COMPANY
           
org.apache.tika.metadata.MSOffice.CONTENT_STATUS
           
org.apache.tika.metadata.Metadata.CONTRIBUTOR
           
org.apache.tika.metadata.Metadata.COVERAGE
           
org.apache.tika.metadata.MSOffice.CREATION_DATE
           
org.apache.tika.metadata.Metadata.CREATOR
           
org.apache.tika.metadata.Metadata.DATE
           
org.apache.tika.metadata.Metadata.DESCRIPTION
           
org.apache.tika.metadata.IPTC.DIGITAL_SOURCE_FILE_TYPE
            
org.apache.tika.metadata.Metadata.FORMAT
           
org.apache.tika.metadata.Metadata.IDENTIFIER
           
org.apache.tika.metadata.MSOffice.IMAGE_COUNT
           
org.apache.tika.metadata.MSOffice.KEYWORDS
           
org.apache.tika.metadata.Metadata.LANGUAGE
           
org.apache.tika.metadata.MSOffice.LAST_AUTHOR
           
org.apache.tika.metadata.MSOffice.LAST_PRINTED
           
org.apache.tika.metadata.MSOffice.LAST_SAVED
           
org.apache.tika.metadata.MSOffice.LINE_COUNT
           
org.apache.tika.metadata.MSOffice.MANAGER
           
org.apache.tika.metadata.Metadata.MODIFIED
           
org.apache.tika.metadata.MSOffice.NOTES
           
org.apache.tika.metadata.MSOffice.OBJECT_COUNT
           
org.apache.tika.metadata.MSOffice.PAGE_COUNT
           
org.apache.tika.metadata.MSOffice.PARAGRAPH_COUNT
           
org.apache.tika.parser.pdf.PDFParser.PASSWORD
          Supply a PasswordProvider on the ParseContext instead 
org.apache.tika.metadata.MSOffice.PRESENTATION_FORMAT
           
org.apache.tika.metadata.Metadata.PUBLISHER
           
org.apache.tika.metadata.Metadata.RELATION
           
org.apache.tika.metadata.MSOffice.REVISION_NUMBER
           
org.apache.tika.metadata.Metadata.RIGHTS
           
org.apache.tika.metadata.MSOffice.SECURITY
           
org.apache.tika.metadata.MSOffice.SLIDE_COUNT
           
org.apache.tika.metadata.Metadata.SOURCE
           
org.apache.tika.metadata.Metadata.SUBJECT
           
org.apache.tika.metadata.IPTC.SUPPLEMENTAL_CATEGORIES
            
org.apache.tika.metadata.MSOffice.TABLE_COUNT
           
org.apache.tika.metadata.MSOffice.TEMPLATE
           
org.apache.tika.metadata.Metadata.TITLE
           
org.apache.tika.metadata.MSOffice.TOTAL_TIME
           
org.apache.tika.metadata.TikaCoreProperties.TRANSITION_KEYWORDS_TO_DC_SUBJECT
          use TikaCoreProperties#KEYWORDS 
org.apache.tika.metadata.TikaCoreProperties.TRANSITION_SUBJECT_TO_DC_DESCRIPTION
          use TikaCoreProperties#DESCRIPTION 
org.apache.tika.metadata.TikaCoreProperties.TRANSITION_SUBJECT_TO_DC_TITLE
          use TikaCoreProperties#TITLE 
org.apache.tika.metadata.TikaCoreProperties.TRANSITION_SUBJECT_TO_OO_SUBJECT
          use OfficeOpenXMLCore#SUBJECT 
org.apache.tika.metadata.Metadata.TYPE
           
org.apache.tika.metadata.IPTC.URGENCY
            
org.apache.tika.metadata.MSOffice.VERSION
           
org.apache.tika.metadata.MSOffice.WORD_COUNT
           
 

Deprecated Methods
org.apache.tika.parser.microsoft.POIFSContainerDetector.detect(Set)
          Use POIFSContainerDetector.detect(Set, DirectoryEntry) and pass the root entry of the filesystem whose type is to be detected, as a second argument. 
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.parser.iptc.IptcAnpaParser.parse(InputStream, ContentHandler, Metadata)
          This method will be removed in Apache 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) 
 



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