Class TextFileEditor
java.lang.Object
ch.ladestation.connectncharge.services.file.TextFileEditor
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringreadPlayerDataFromFile(String filePath) This method takes the data from the player file if there is one.static voidwriteTextFile(String filePath, List<String> lines) This method writes to the defined file given by the parameter files.
-
Method Details
-
readLevels
-
readPlayerDataFromFile
This method takes the data from the player file if there is one.- Parameters:
filePath-- Returns:
- a list of saved players.
-
writeTextFile
This method writes to the defined file given by the parameter files.- Parameters:
filePath-lines-
-
getAdminCode
-