updated comment
This commit is contained in:
@@ -510,12 +510,11 @@ public class FabianUtil {
|
||||
try (content) {
|
||||
BufferedWriter out = Files.newBufferedWriter(toFile);
|
||||
content.transferTo(out);
|
||||
/* varianten: selber pipen:
|
||||
/* varianten: mit streams:
|
||||
Files.copy(content, Paths.get(path + filename + "." + ending), StandardCopyOption.REPLACE_EXISTING);
|
||||
oder selber pipen, wie beim Reader/ writer:
|
||||
OutputStream out = Files.newOutputStream(Paths.get(path + filename + "." + ending));
|
||||
content.transferTo(out);
|
||||
oder mit reader/ writer:
|
||||
BufferedWriter out = Files.newBufferedWriter(Paths.get(path + filename + "." + ending));
|
||||
content.transferTo(out);
|
||||
oder mit byte-array:
|
||||
Files.write(Paths.get(path + filename + "." + ending), content);
|
||||
*/
|
||||
|
Reference in New Issue
Block a user