|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jibx.custom.CustomUtils
public class CustomUtils
Support methods used by customization code.
Constructor Summary | |
---|---|
CustomUtils()
|
Method Summary | |
---|---|
static java.util.Set |
addNoCaseSet(java.lang.String[] names,
java.util.Set set)
Utility method to add an array of names to a set, ignoring case. |
static void |
clean(java.io.File dir)
Clean directory by recursively deleting children. |
static java.util.Set |
nameSet(java.lang.String[] names)
Utility method to build a set from an array of names. |
static java.util.Set |
noCaseNameSet(java.lang.String[] names)
Utility method to build a set from an array of names, ignoring case. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CustomUtils()
Method Detail |
---|
public static java.util.Set addNoCaseSet(java.lang.String[] names, java.util.Set set)
names
- (null
if none)set
- base set of names (null
if none)
null
if none)public static java.util.Set noCaseNameSet(java.lang.String[] names)
names
- (null
if none)
null
if name array also null
, otherwise non-null
)public static java.util.Set nameSet(java.lang.String[] names)
names
- (null
if none)
null
if name array also null
, otherwise non-null
)public static void clean(java.io.File dir)
dir
- directory to be cleaned
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |