Package de.willuhn.jameica.hbci.io.csv
Class ProfileUtil
- java.lang.Object
-
- de.willuhn.jameica.hbci.io.csv.ProfileUtil
-
public class ProfileUtil extends java.lang.ObjectHilfeklasse zum Laden und Speichern von CSV-Import-Profilen.
-
-
Constructor Summary
Constructors Constructor Description ProfileUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Profileadd(Format format, Profile profile)Fuegt ein neues Profil hinzu.static booleandelete(Format format, Profile profile)Loescht das angegebene Profil.static java.util.List<Profile>read(Format format)Laedt die vorhandenen Profile fuer das Format.static voidstore(Format format, java.util.List<Profile> profiles)Speichert die Profile.
-
-
-
Method Detail
-
read
public static java.util.List<Profile> read(Format format)
Laedt die vorhandenen Profile fuer das Format.- Parameters:
format- das Format.- Returns:
- die Liste der Profile.
-
store
public static void store(Format format, java.util.List<Profile> profiles)
Speichert die Profile.- Parameters:
format- das Format.profiles- die zu speichernden Profile.
-
add
public static Profile add(Format format, Profile profile)
Fuegt ein neues Profil hinzu.- Parameters:
format- das Format.profile- das zu speichernde Profil.- Returns:
- das hinzugefuegte oder geaenderte Profil. NULL, wenn nicht gespeichert wurde.
-
-