Class FileUtils
- java.lang.Object
-
- com.google.code.maven_replacer_plugin.file.FileUtils
-
public class FileUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description FileUtils()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
createFullPath(String... dirsAndFilename)
void
ensureFolderStructureExists(String file)
boolean
fileNotExists(String filename)
boolean
isAbsolutePath(String file)
String
readFile(String file, String encoding)
void
writeToFile(String outputFile, String content, String encoding)
-
-
-
Method Detail
-
fileNotExists
public boolean fileNotExists(String filename)
-
ensureFolderStructureExists
public void ensureFolderStructureExists(String file)
-
readFile
public String readFile(String file, String encoding) throws IOException
- Throws:
IOException
-
writeToFile
public void writeToFile(String outputFile, String content, String encoding) throws IOException
- Throws:
IOException
-
isAbsolutePath
public boolean isAbsolutePath(String file)
-
-