Package | Description |
---|---|
org.eclipse.aether.util |
Miscellaneous utility classes.
|
Modifier and Type | Method and Description |
---|---|
static void |
FileUtils.writeFile(java.nio.file.Path target,
FileUtils.FileWriter writer)
Writes file without backup.
|
private static void |
FileUtils.writeFile(java.nio.file.Path target,
FileUtils.FileWriter writer,
boolean doBackup)
Utility method to write out file to disk in "atomic" manner, with optional backups (".bak") if needed.
|
static void |
FileUtils.writeFileWithBackup(java.nio.file.Path target,
FileUtils.FileWriter writer)
Writes file with backup copy (appends ".bak" extension).
|