de.willuhn.jameica.hbci.passports.rdh.keyformat
Class AbstractSizRdhFormat

java.lang.Object
  extended by de.willuhn.jameica.hbci.passports.rdh.keyformat.AbstractSizRdhFormat
All Implemented Interfaces:
KeyFormat
Direct Known Subclasses:
SizRdhDirectFormat, SizRdhFormat

public abstract class AbstractSizRdhFormat
extends java.lang.Object
implements KeyFormat

Abstrakte Basis-Implementierung des Schluesselformats SizRDH.


Field Summary
protected static de.willuhn.util.I18N i18n
           
 
Fields inherited from interface de.willuhn.jameica.hbci.passports.rdh.keyformat.KeyFormat
FEATURE_CREATE, FEATURE_IMPORT
 
Constructor Summary
AbstractSizRdhFormat()
           
 
Method Summary
 RDHKey createKey(java.io.File file)
          Erzeugt einen neuen Schluessel.
protected static java.lang.String getRDHLib()
          Liefert Pfad und Dateiname der nativen SIZRDH-Lib.
 boolean hasFeature(int feature)
          Prueft, ob das Format das angegebene Feature unterstuetzt.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.willuhn.jameica.hbci.passports.rdh.keyformat.KeyFormat
getName, importKey, load
 

Field Detail

i18n

protected static de.willuhn.util.I18N i18n
Constructor Detail

AbstractSizRdhFormat

public AbstractSizRdhFormat()
Method Detail

createKey

public RDHKey createKey(java.io.File file)
                 throws de.willuhn.util.ApplicationException,
                        de.willuhn.jameica.system.OperationCanceledException
Description copied from interface: KeyFormat
Erzeugt einen neuen Schluessel.

Specified by:
createKey in interface KeyFormat
Parameters:
file - Ziel-Datei, in der der Schluessel erzeugt werden soll.
Returns:
der neue Schluessel.
Throws:
de.willuhn.util.ApplicationException
de.willuhn.jameica.system.OperationCanceledException
See Also:
KeyFormat.createKey(java.io.File)

hasFeature

public boolean hasFeature(int feature)
Description copied from interface: KeyFormat
Prueft, ob das Format das angegebene Feature unterstuetzt.

Specified by:
hasFeature in interface KeyFormat
Parameters:
feature - das geforderte Feature.
Returns:
true, wenn es unterstuetzt wird.
See Also:
KeyFormat.hasFeature(int)

getRDHLib

protected static java.lang.String getRDHLib()
                                     throws de.willuhn.util.ApplicationException
Liefert Pfad und Dateiname der nativen SIZRDH-Lib. Diese unterscheidet sich je nach Betriebssystem.

Returns:
Pfad zur RDHLib.
Throws:
de.willuhn.util.ApplicationException