| java.lang.Object com.ice.util.FileUtilities
FileUtilities | public class FileUtilities (Code) | | |
Method Summary | |
public static boolean | caseSensitivePathNames() | public static void | copyFile(File from, File to) | public static boolean | fileEqualsExtension(String fileName, String extension) | public static String | getUserHomeDirectory() | public static boolean | isPatternString(String pattern) Determines if a filename matches a 'globbing' pattern.
The pattern can contain the following special symbols:
- * - Matches zero or more of any character
- ? - Matches exactly one of any character
- [...] - Matches one of any character in the list or range
Parameters: fileName - The name of the file to check. Parameters: matchExpr - The expression to check against. | public static boolean | matchPattern(String fileName, String pattern) |
caseSensitivePathNames | public static boolean caseSensitivePathNames()(Code) | | |
fileEqualsExtension | public static boolean fileEqualsExtension(String fileName, String extension)(Code) | | |
getUserHomeDirectory | public static String getUserHomeDirectory()(Code) | | |
isPatternString | public static boolean isPatternString(String pattern)(Code) | | Determines if a filename matches a 'globbing' pattern.
The pattern can contain the following special symbols:
- * - Matches zero or more of any character
- ? - Matches exactly one of any character
- [...] - Matches one of any character in the list or range
Parameters: fileName - The name of the file to check. Parameters: matchExpr - The expression to check against. If the file name matches the expression, true, else false. |
|
|