Änderungen in Persistenz
parent
330548712e
commit
89e0020191
|
@ -12,11 +12,11 @@ import java.io.*;
|
|||
|
||||
public class Persistenz {
|
||||
|
||||
final static String FILE_NAME = "WIZARD_DATA_";
|
||||
final static String FILE_NAME = "WIZARD_DATA_";
|
||||
|
||||
public static boolean sindDatenVorhanden(String name){
|
||||
public static boolean sindDatenVorhanden(String name) {
|
||||
File f = new File(FILE_NAME + name + ".ser");
|
||||
if(f.exists()){
|
||||
if (f.exists()) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue