Result object constructed by
to detect format of given input data.
Content read during format matching process
Pointer to the first byte in buffer available for reading
Number of bytes available in buffer.
Factory that produced sufficient match (if any)
int bufferedStart, int bufferedLength,
Accessor to use to see if any formats matched well enough with
the input data.
Accessor for getting brief textual name of matched format if any (null
if none). Equivalent to:
return hasMatch() ? getMatch().getFormatName() : null;
Convenience method for trying to construct a
parsing content which is assumed to be in detected data format.
If no match was found, returns null.
Method to use for accessing input for which format detection has been done.
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.