be.fedict.eid.applet.service.impl.tlv
Interface DataConvertor<T>

Type Parameters:
T - the type to which to convert to.
All Known Implementing Classes:
ChipNumberDataConvertor, DateOfBirthDataConvertor, DocumentTypeConvertor, GenderDataConvertor, SpecialOrganisationConvertor, SpecialStatusConvertor, ValidityDateDataConvertor

public interface DataConvertor<T>

Interface for a data convertor component.

Author:
Frank Cornelis

Method Summary
 T convert(byte[] value)
          Convert the given byte array to the data convertor data type.
 

Method Detail

convert

T convert(byte[] value)
          throws DataConvertorException
Convert the given byte array to the data convertor data type.

Parameters:
value - the byte array to convert.
Returns:
an object of the data convertor data type type.
Throws:
DataConvertorException - in case the conversion failed.


Copyright © 2008-2013 FedICT. All Rights Reserved.