java.lang.Object | |
↳ | com.fasterxml.jackson.core.format.DataFormatMatcher |
Result object constructed by DataFormatDetector
when requested
to detect format of given input data.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
_bufferedData | Content read during format matching process | ||||||||||
_bufferedLength | Number of bytes in _bufferedData that were read. |
||||||||||
_match | Factory that produced sufficient match (if any) | ||||||||||
_matchStrength | Strength of match with _match
|
||||||||||
_originalStream |
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Convenience method for trying to construct a
JsonParser for
parsing content which is assumed to be in detected data format. | |||||||||||
Method to use for accessing input for which format detection has been done.
| |||||||||||
Accessor for
JsonFactory that represents format that data matched. | |||||||||||
Method for accessing strength of the match, if any; if no match,
will return
INCONCLUSIVE . | |||||||||||
Accessor for getting brief textual name of matched format if any (null
if none).
| |||||||||||
Accessor to use to see if any formats matched well enough with
the input data.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Content read during format matching process
Convenience method for trying to construct a JsonParser
for
parsing content which is assumed to be in detected data format.
If no match was found, returns null.
IOException |
---|
Method to use for accessing input for which format detection has been done. This must be used instead of using stream passed to detector unless given stream itself can do buffering. Stream will return all content that was read during matching process, as well as remaining contents of the underlying stream.
Method for accessing strength of the match, if any; if no match,
will return INCONCLUSIVE
.
Accessor for getting brief textual name of matched format if any (null if none). Equivalent to:
return hasMatch() ? getMatch().getFormatName() : null;
Accessor to use to see if any formats matched well enough with the input data.