Java org.aspectj.util FileUtil fields, constructors, methods, implement or subclass

Example usage for Java org.aspectj.util FileUtil fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.aspectj.util FileUtil.

The text is from its open source code.

Field

Method

intcopyDir(File fromDir, File toDir)
Copy contents of fromDir into toDir
intdeleteContents(File dir)
Recursively delete the contents of dir, but not the dir itself
intdeleteContents(File dir, FileFilter filter, boolean deleteEmptyDirs)
Recursively delete some contents of dir, but not the dir itself.
FilegetTempDir(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.
booleanhasSourceSuffix(File file)
booleanhasSourceSuffix(String path)
String[]listFiles(File srcDir)
Recursively list files in srcDir.
BufferedOutputStreammakeOutputStream(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[]
StringreadAsString(File file)
Returns the contents of this file as a String
StringwriteAsString(File file, String contents)
Write contents to file, returning null on success or error message otherwise.
intzipSuffixLength(File file)
intzipSuffixLength(String path)