Merge branch 'main' of https://gitty.informatik.hs-mannheim.de/2211945/WIZARD_PR2_DOP into merge
commit
8182bd7faf
|
@ -22,6 +22,18 @@ public class Persistenz {
|
||||||
|
|
||||||
final static String FILE_NAME = "WIZARD_DATA_";
|
final static String FILE_NAME = "WIZARD_DATA_";
|
||||||
|
|
||||||
|
/*------------------------------------------*/
|
||||||
|
// Attribute jedes Objektes
|
||||||
|
/*------------------------------------------*/
|
||||||
|
|
||||||
|
/*------------------------------------------*/
|
||||||
|
// Konstruktoren (default und spezifische)
|
||||||
|
/*------------------------------------------*/
|
||||||
|
|
||||||
|
/*------------------------------------------*/
|
||||||
|
// statische Methoden
|
||||||
|
/*------------------------------------------*/
|
||||||
|
|
||||||
public static boolean sindDatenVorhanden(String name) {
|
public static boolean sindDatenVorhanden(String name) {
|
||||||
File f = new File(FILE_NAME + name + ".ser");
|
File f = new File(FILE_NAME + name + ".ser");
|
||||||
if (f.exists()) {
|
if (f.exists()) {
|
||||||
|
|
Loading…
Reference in New Issue