Package com.mchange.v2.io
Class FileUtils
- java.lang.Object
-
- com.mchange.v2.io.FileUtils
-
public final class FileUtils extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
createEmpty(java.io.File file)
static long
diskSpaceUsed(java.io.File maybeDir)
static java.io.File
findRelativeToParent(java.io.File parentDir, java.io.File file)
static void
touch(java.io.File file)
static void
touchExisting(java.io.File file)
-
-
-
Method Detail
-
findRelativeToParent
public static java.io.File findRelativeToParent(java.io.File parentDir, java.io.File file) throws java.io.IOException
- Throws:
java.io.IOException
-
diskSpaceUsed
public static long diskSpaceUsed(java.io.File maybeDir) throws java.io.IOException
- Throws:
java.io.IOException
-
touchExisting
public static void touchExisting(java.io.File file) throws java.io.IOException
- Throws:
java.io.IOException
-
touch
public static void touch(java.io.File file) throws java.io.IOException
- Throws:
java.io.IOException
-
createEmpty
public static void createEmpty(java.io.File file) throws java.io.IOException
- Throws:
java.io.IOException
-
-