Package that contains interfaces needed for dynamic, pluggable format (auto)detection; as well as basic utility classes for simple format detection functionality.
Interface Summary Interface Description InputAccessorInterface used to expose beginning of a data file to data format detection code.
Class Summary Class Description DataFormatDetectorSimple helper class that allows data format (content type) auto-detection, given an ordered set of
JsonFactoryinstances to use for actual low-level detection.
DataFormatMatcherResult object constructed by
DataFormatDetectorwhen requested to detect format of given input data.
InputAccessor.StdBasic implementation that reads data from given
InputStreamand buffers it as necessary.
Enum Summary Enum Description MatchStrengthEnumeration used to indicate strength of match between data format and piece of data (typically beginning of a data file).