java.lang.Object
gov.nist.secauto.metaschema.databind.io.FormatDetector.Result
Enclosing class:
FormatDetector

public static final class FormatDetector.Result extends Object
  • Method Details

    • getFormat

      @NonNull public Format getFormat()
      Get the detected format.
      Returns:
      the format
    • getDataStream

      @NonNull public InputStream getDataStream()
      Get an InputStream 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