public final class ModifyFileExtensions
extends java.lang.Object
ModifyFileExtensions provides methods for modifying files| Modifier and Type | Method and Description |
|---|---|
static void |
modifyFile(java.nio.file.Path inFilePath,
java.nio.charset.Charset charsetOfOutputFile,
FileChangeable modifier)
Modifies the input file line by line and writes the modification in the same file
|
static void |
modifyFile(java.nio.file.Path inFilePath,
FileChangeable modifier)
Modifies the input file line by line and writes the modification in the same file
|
static void |
modifyFile(java.nio.file.Path inFilePath,
java.nio.file.Path outFilePath,
java.nio.charset.Charset charsetOfOutputFile,
FileChangeable modifier)
Modifies the input file line by line and writes the modification in the new output file.
|
static void |
modifyFile(java.nio.file.Path inFilePath,
java.nio.file.Path outFilePath,
FileChangeable modifier)
Modifies the input file line by line and writes the modification in the new output file
|
public static void modifyFile(java.nio.file.Path inFilePath,
java.nio.charset.Charset charsetOfOutputFile,
FileChangeable modifier)
throws java.io.IOException
inFilePath - the in file pathcharsetOfOutputFile - the charset of output filemodifier - the modifier BiFunctionjava.io.IOException - Signals that an I/O exception has occurred.public static void modifyFile(java.nio.file.Path inFilePath,
FileChangeable modifier)
throws java.io.IOException
inFilePath - the in file pathmodifier - the modifier BiFunctionjava.io.IOException - Signals that an I/O exception has occurred.public static void modifyFile(java.nio.file.Path inFilePath,
java.nio.file.Path outFilePath,
java.nio.charset.Charset charsetOfOutputFile,
FileChangeable modifier)
throws java.io.IOException
inFilePath - the in file pathoutFilePath - the out file pathcharsetOfOutputFile - the charset of output filemodifier - the modifier BiFunctionjava.io.IOException - Signals that an I/O exception has occurred.public static void modifyFile(java.nio.file.Path inFilePath,
java.nio.file.Path outFilePath,
FileChangeable modifier)
throws java.io.IOException
inFilePath - the in file pathoutFilePath - the out file pathmodifier - the modifier BiFunctionjava.io.IOException - Signals that an I/O exception has occurred.