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

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

public class GenderDataConvertor
extends Object
implements DataConvertor<Gender>

Data convertor for gender data type.

Author:
Frank Cornelis

Constructor Summary
GenderDataConvertor()
           
 
Method Summary
 Gender 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

GenderDataConvertor

public GenderDataConvertor()
Method Detail

convert

public Gender 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<Gender>
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-2012 FedICT. All Rights Reserved.