Package org.apache.tika.parser
Class ParsingIntent
java.lang.Object
org.apache.tika.parser.ParsingIntent
Marker class to indicate parsing intent in ParseContext.
When set in the ParseContext before detection, this signals to detectors that parsing will follow detection. Detectors can use this hint to perform additional preparation (like salvaging corrupted ZIP files) that would benefit the subsequent parse operation.
This is automatically set by AutoDetectParser before calling
the detector.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ParsingIntentSingleton instance indicating that parsing will follow detection. -
Method Summary
-
Field Details
-
WILL_PARSE
Singleton instance indicating that parsing will follow detection.
-