Package org.apache.tika.parser
Class ParseRecord
- java.lang.Object
- 
- org.apache.tika.parser.ParseRecord
 
- 
 public class ParseRecord extends Object Use this class to store exceptions, warnings and other information during the parse. This information is added to the parent's metadata after the parse by theCompositeParser.
- 
- 
Constructor SummaryConstructors Constructor Description ParseRecord()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddException(Exception e)voidaddMetadata(Metadata metadata)voidaddWarning(String msg)intgetDepth()List<Exception>getExceptions()List<Metadata>getMetadataList()String[]getParsers()List<String>getWarnings()booleanisWriteLimitReached()voidsetWriteLimitReached(boolean writeLimitReached)
 
- 
- 
- 
Method Detail- 
getDepthpublic int getDepth() 
 - 
getParserspublic String[] getParsers() 
 - 
addExceptionpublic void addException(Exception e) 
 - 
addWarningpublic void addWarning(String msg) 
 - 
addMetadatapublic void addMetadata(Metadata metadata) 
 - 
setWriteLimitReachedpublic void setWriteLimitReached(boolean writeLimitReached) 
 - 
isWriteLimitReachedpublic boolean isWriteLimitReached() 
 
- 
 
-