Vollständige Java 8 Kompatibilität hinzugefügt.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import java.io.IOException;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
@@ -16,6 +18,12 @@ public class StringListSerializer {
|
||||
*/
|
||||
public void write(Path path, List<String> list) {
|
||||
// TODO: implement
|
||||
try {
|
||||
Files.write(path, list);
|
||||
} catch (IOException e) {
|
||||
// TODO Auto-generated catch block
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user