Package org.jnbis.api.handler
Class NistHandler
- java.lang.Object
-
- org.jnbis.api.handler.NistHandler
-
public final class NistHandler extends Object
A handler for Nist files.
-
-
Constructor Summary
Constructors Constructor Description NistHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Nistdecode(byte[] data)decodes the given WSQ file with given data as byte array and returns aNistcontaining the decoded info.Nistdecode(File file)decodes the given WSQ file and returns aNistcontaining the decoded info.Nistdecode(InputStream inputStream)decodes the given NIST file with givenInputStreamand returns aNistcontaining the decoded info.Nistdecode(String fileName)decodes the NIST file with given file name and returns aNistcontaining the decoded info.
-
-
-
Method Detail
-
decode
public Nist decode(String fileName)
decodes the NIST file with given file name and returns aNistcontaining 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 aNistcontaining 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 givenInputStreamand returns aNistcontaining the decoded info.- Parameters:
inputStream- the NIST file input stream, not null- Returns:
- a Nist instance containing decoded info, not null
- See Also:
Nist
-
-