Class NistHandler


  • public final class NistHandler
    extends Object
    A handler for Nist files.
    • Constructor Detail

      • NistHandler

        public NistHandler()
    • Method Detail

      • decode

        public Nist decode​(String fileName)
        decodes the NIST file with given file name and returns a Nist containing the decoded info.
        Parameters:
        fileName - the NIST file name, not null
        Returns:
        a Nist instance containing decoded info, not null
        See Also:
        Nist
      • decode

        public Nist decode​(File file)
        decodes the given WSQ file and returns a Nist containing the decoded info.
        Parameters:
        file - the NIST file , not null
        Returns:
        a Nist instance containing decoded info, not null
        See Also:
        Nist
      • decode

        public Nist decode​(InputStream inputStream)
        decodes the given NIST file with given InputStream and returns a Nist containing the decoded info.
        Parameters:
        inputStream - the NIST file input stream, not null
        Returns:
        a Nist instance containing decoded info, not null
        See Also:
        Nist
      • decode

        public Nist decode​(byte[] data)
        decodes the given WSQ file with given data as byte array and returns a Nist containing the decoded info.
        Parameters:
        data - the NIST file as byte array, not null
        Returns:
        a Nist instance containing decoded info, not null
        See Also:
        Nist