public class EnvReplacer extends Object
Does PathUtils.replaceEnvVariables(String)
on the given
filepath
by reading the File
into a String using
FileUtils.readFileToString(File)
and then doing
PathUtils.replaceEnvVariables(String)
on that String.
Constructor and Description |
---|
EnvReplacer() |
Modifier and Type | Method and Description |
---|---|
void |
doEnvReplace() |
File |
getFilepath() |
void |
setFilepath(File filepath) |
public void doEnvReplace() throws IOException
IOException
public File getFilepath()
public void setFilepath(File filepath)
filepath
- the filepath to setCopyright © 1999–2017 Apache OODT. All rights reserved.