|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.willuhn.jameica.hbci.passports.pintan.PinTanConfigFactory
public class PinTanConfigFactory
Factory zum Laden, Erzeugen und Finden von PIN/TAN-Konfigurationen.
| Constructor Summary | |
|---|---|
PinTanConfigFactory()
|
|
| Method Summary | |
|---|---|
static PinTanConfig |
create()
Erstellt eine neue PIN/Tan-Config. |
static java.io.File |
createFilename()
Erzeugt eine neue Config-Datei. |
static void |
delete(PinTanConfig config)
Loescht die genannte Config. |
static PinTanConfig |
findByKonto(de.willuhn.jameica.hbci.rmi.Konto konto)
Liefert die zum uebergebenen Konto gehoerende PIN/Tan-Config oder null wenn keine gefunden wurde. |
static de.willuhn.datasource.GenericIterator |
getConfigs()
Liefert die Liste der existierenden Pin/Tan-Konfigurationen. |
static org.kapott.hbci.passport.HBCIPassport |
load(java.io.File f)
Erzeugt ein Passport-Objekt basierend auf der uebergebenen Config. |
static void |
store(PinTanConfig config)
Speichert die Konfiguration. |
static java.io.File |
toAbsolutePath(java.lang.String filename)
Macht aus dem Dateinamen einer Passport-Datei eine absolute Pfadangabe. |
static java.lang.String |
toRelativePath(java.lang.String file)
Macht aus der Pfadangabe eine relative Angabe - enthaelt dann also nur noch den Dateinamen. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PinTanConfigFactory()
| Method Detail |
|---|
public static PinTanConfig create()
throws java.lang.Exception
java.lang.Exception
public static void store(PinTanConfig config)
throws java.lang.Exception
config -
java.lang.Exception
public static void delete(PinTanConfig config)
throws java.lang.Exception
config - die zu loeschende Config.
java.lang.Exceptionpublic static org.kapott.hbci.passport.HBCIPassport load(java.io.File f)
f - das HBCI4Java-Config-File.
public static PinTanConfig findByKonto(de.willuhn.jameica.hbci.rmi.Konto konto)
throws java.rmi.RemoteException,
de.willuhn.util.ApplicationException
null wenn keine gefunden wurde.
konto - Konto, fuer das die Config gesucht wird.
java.rmi.RemoteException
de.willuhn.util.ApplicationException
public static de.willuhn.datasource.GenericIterator getConfigs()
throws java.rmi.RemoteException
java.rmi.RemoteException
public static java.io.File createFilename()
throws de.willuhn.util.ApplicationException
de.willuhn.util.ApplicationExceptionpublic static java.io.File toAbsolutePath(java.lang.String filename)
filename - Dateiname.
public static java.lang.String toRelativePath(java.lang.String file)
file - Pfadangabe.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||