public class CustomUtils extends Object
| Constructor and Description |
|---|
CustomUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Set |
addNoCaseSet(String[] names,
Set set)
Utility method to add an array of names to a set, ignoring case.
|
static void |
clean(File dir)
Clean directory by recursively deleting children.
|
static Set |
nameSet(String[] names)
Utility method to build a set from an array of names.
|
static Set |
noCaseNameSet(String[] names)
Utility method to build a set from an array of names, ignoring case.
|
public static Set addNoCaseSet(String[] names, Set set)
names - (null if none)set - base set of names (null if none)null if none)public static Set noCaseNameSet(String[] names)
names - (null if none)null if name array also null, otherwise non-null)public static Set nameSet(String[] names)
names - (null if none)null if name array also null, otherwise non-null)public static void clean(File dir)
dir - directory to be cleanedCopyright © 2005-2014 jibx.org. All Rights Reserved.