Example usage for Java org.aspectj.util FileUtil fields, constructors, methods, implement or subclass
The text is from its open source code.
FileFilter | DIRS_AND_WRITABLE_CLASSES |
int | copyDir(File fromDir, File toDir) Copy contents of fromDir into toDir |
int | deleteContents(File dir) Recursively delete the contents of dir, but not the dir itself |
int | deleteContents(File dir, FileFilter filter, boolean deleteEmptyDirs) Recursively delete some contents of dir, but not the dir itself. |
File | getTempDir(String name) Make a new temporary directory in the same directory that the system uses for temporary files, or if that files, in the current directory. |
boolean | hasSourceSuffix(File file) |
boolean | hasSourceSuffix(String path) |
String[] | listFiles(File srcDir) Recursively list files in srcDir. |
BufferedOutputStream | makeOutputStream(File file) |
byte[] | readAsByteArray(File file) Returns the contents of this file as a byte[] |
byte[] | readAsByteArray(InputStream inStream) Reads this input stream and returns contents as a byte[] |
String | readAsString(File file) Returns the contents of this file as a String |
String | writeAsString(File file, String contents) Write contents to file, returning null on success or error message otherwise. |
int | zipSuffixLength(File file) |
int | zipSuffixLength(String path) |