Package org.jmrtd.cbeff
Interface BiometricDataBlockDecoder<B extends BiometricDataBlock>
-
- Type Parameters:
B
- the type of BDB implementation that is decoded by this decoder
public interface BiometricDataBlockDecoder<B extends BiometricDataBlock>
Interface to be implemented by client code to decode BDB implementations.- Since:
- 0.4.7
- Version:
- $Revision: 1802 $
- Author:
- The JMRTD team ([email protected])
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description B
decode(InputStream inputStream, StandardBiometricHeader sbh, int index, int length)
Reads a biometric data block from an input stream.
-
-
-
Method Detail
-
decode
B decode(InputStream inputStream, StandardBiometricHeader sbh, int index, int length) throws IOException
Reads a biometric data block from an input stream.- Parameters:
inputStream
- the input stream to read fromsbh
- the standard biometric header that preceded this BDBindex
- the index of this BDBlength
- the length of this BDB- Returns:
- a biometric data block
- Throws:
IOException
- if reading failed
-
-