Interface IEidHandler

All Known Implementing Classes:
EidAbstractHandler, EidBrolHandlerV1, EidBrolHandlerV2, EidFedictHandler

public interface IEidHandler
Author:
Steph GAUDRY
  • Field Details

  • Method Details

    • save

      void save(File file, VirtualBeID virtualBeID) throws IOException
      Exports the virtual BEID to the given XML-file.
      Parameters:
      file - Where to save the informations
      virtualBeID -
      Throws:
      IOException
    • load

      VirtualBeID load(File file) throws ParseException, org.dom4j.DocumentException
      Loads data from the given file to initialize the VirtualBeID.
      Parameters:
      file - is the file to read
      Returns:
      a VirtualBeID object containing all the BeID card data
      Throws:
      ParseException - when the dates couldn't be parsed correctly
      org.dom4j.DocumentException - when the document isn't well-formed