Package ch.so.agi.gretl.internal.io
Class SafeFileOutput
java.lang.Object
ch.so.agi.gretl.internal.io.SafeFileOutput
Internal path containment and atomic file replacement for task outputs.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic PathresolveDescendant(Path root, String relativePath) static voidwriteAtomically(Path target, SafeFileOutput.OutputWriter writer)
-
Method Details
-
resolveDescendant
-
writeAtomically
public static void writeAtomically(Path target, SafeFileOutput.OutputWriter writer) throws IOException - Throws:
IOException
-