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

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

public class DocumentTypeConvertor
extends Object
implements DataConvertor<DocumentType>

Data Convertor for eID document type.

Author:
Frank Cornelis

Constructor Summary
DocumentTypeConvertor()
           
 
Method Summary
 DocumentType 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

DocumentTypeConvertor

public DocumentTypeConvertor()
Method Detail

convert

public DocumentType 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<DocumentType>
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-2009 FedICT. All Rights Reserved.