Class FormatDetector.Result
- java.lang.Object
-
- gov.nist.secauto.metaschema.databind.io.FormatDetector.Result
-
- Enclosing class:
- FormatDetector
public static class FormatDetector.Result extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStream
getDataStream()
Get anInputStream
that can be used to read the analyzed data from the start.Format
getFormat()
Get the detected format.com.fasterxml.jackson.core.format.MatchStrength
getMatchStrength()
Get the strength of the match.
-
-
-
Method Detail
-
getDataStream
@NonNull public InputStream getDataStream()
Get anInputStream
that can be used to read the analyzed data from the start.- Returns:
- the stream
-
getMatchStrength
@NonNull public com.fasterxml.jackson.core.format.MatchStrength getMatchStrength()
Get the strength of the match.- Returns:
- the strength
-
-