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 StringcreateFullPath(String... dirsAndFilename)voidensureFolderStructureExists(String file)booleanfileNotExists(String filename)booleanisAbsolutePath(String file)StringreadFile(String file, String encoding)voidwriteToFile(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)
-
-