public class FileUtils extends Object
Constructor and Description |
---|
FileUtils() |
Modifier and Type | Method and 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) |
public boolean fileNotExists(String filename)
public void ensureFolderStructureExists(String file)
public String readFile(String file, String encoding) throws IOException
IOException
public void writeToFile(String outputFile, String content, String encoding) throws IOException
IOException
public boolean isAbsolutePath(String file)
Copyright © 2023. All rights reserved.