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

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

public class DateOfBirthDataConvertor
extends Object
implements DataConvertor<GregorianCalendar>

Convertor for eID date of birth field.

Author:
Frank Cornelis

Constructor Summary
DateOfBirthDataConvertor()
           
 
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

DateOfBirthDataConvertor

public DateOfBirthDataConvertor()
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-2011 FedICT. All Rights Reserved.