public final class FileUtil extends Object
Modifier and Type | Method and Description |
---|---|
static String |
fullPath(File filePath,
String fileName) |
static String |
getCanonical(File file) |
static String |
getCanonical(File file,
String defaultString) |
static File |
getFile(String fileName) |
static String[] |
getJavaClassPaths() |
public static String[] getJavaClassPaths()
public static File getFile(String fileName)
fileName
- the name of the filepublic static String getCanonical(File file, String defaultString)
file
- the file to getdefaultString
- the defaultString to return if the file is nullpublic static String getCanonical(File file)
file
- the file to getCopyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.