Java org.eclipse.jgit.util FileUtils fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jgit.util FileUtils fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jgit.util FileUtils.

The text is from its open source code.

Field

intRECURSIVE
Option to recursively delete given File
intRETRY
Option to retry deletion if not successful
intSKIP_MISSING
Option to skip deletion if file doesn't exist
intIGNORE_ERRORS
Option not to throw exceptions when a deletion finally doesn't succeed.

Method

Filecanonicalize(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 .
voidcreateNewFile(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.
voiddelete(File f, int options)
Delete file or folder
voiddelete(File f)
Delete file or empty folder
voidmkdir(File d)
Creates the directory named by this abstract pathname.
voidmkdir(File d, boolean skipExisting)
Creates the directory named by this abstract pathname.
voidmkdirs(File d, boolean skipExisting)
Creates the directory named by this abstract pathname, including any necessary but nonexistent parent directories.