Example usage for Java org.eclipse.jgit.util FileUtils fields, constructors, methods, implement or subclass
The text is from its open source code.
int | RECURSIVE Option to recursively delete given File |
int | RETRY Option to retry deletion if not successful |
int | SKIP_MISSING Option to skip deletion if file doesn't exist |
int | IGNORE_ERRORS Option not to throw exceptions when a deletion finally doesn't succeed. |
File | canonicalize(File file) Best-effort variation of java.io.File#getCanonicalFile() returning the input file if the file cannot be canonicalized instead of throwing java.io.IOException . |
void | createNewFile(File f) Atomically creates a new, empty file named by this abstract pathname if and only if a file with this name does not yet exist. |
void | delete(File f, int options) Delete file or folder |
void | delete(File f) Delete file or empty folder |
void | mkdir(File d) Creates the directory named by this abstract pathname. |
void | mkdir(File d, boolean skipExisting) Creates the directory named by this abstract pathname. |
void | mkdirs(File d, boolean skipExisting) Creates the directory named by this abstract pathname, including any necessary but nonexistent parent directories. |