public final class FileUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static long |
ONE_GB |
static long |
ONE_KB |
static long |
ONE_MB |
| Constructor and Description |
|---|
FileUtils() |
| Modifier and Type | Method and Description |
|---|---|
static long |
getFileSize(File file) |
static long |
getFolderSize(File directory) |
static boolean |
isSymbolLink(File file)
判断文件是否是符号链接.
|
public static final long ONE_KB
public static final long ONE_MB
public static final long ONE_GB
public static long getFileSize(File file)
public static long getFolderSize(File directory)
public static boolean isSymbolLink(File file) throws IOException
IOExceptionCopyright © 2016 jetbrick. All rights reserved.