be.fedict.eid.applet.service.impl.tlv
Class ValidityDateDataConvertor

java.lang.Object
  extended by be.fedict.eid.applet.service.impl.tlv.ValidityDateDataConvertor
All Implemented Interfaces:
DataConvertor<GregorianCalendar>

public class ValidityDateDataConvertor
extends Object
implements DataConvertor<GregorianCalendar>

Data convertor for eID identity validity dates.

Author:
Frank Cornelis

Constructor Summary
ValidityDateDataConvertor()
           
 
Method Summary
 GregorianCalendar convert(byte[] value)
          Convert the given byte array to the data convertor data type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidityDateDataConvertor

public ValidityDateDataConvertor()
Method Detail

convert

public GregorianCalendar convert(byte[] value)
                          throws DataConvertorException
Description copied from interface: DataConvertor
Convert the given byte array to the data convertor data type.

Specified by:
convert in interface DataConvertor<GregorianCalendar>
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-2010 FedICT. All Rights Reserved.