|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrle.util.Lang
public class Lang
Constructor Summary | |
---|---|
Lang()
|
Method Summary | |
---|---|
java.lang.String |
checkFileNameFilter(java.lang.String fileName)
|
static boolean |
checkInt(java.lang.Object intValue)
Returns true for valid ints |
static java.lang.String |
checkNull(java.lang.Object line)
|
static java.lang.String |
checkNull(java.lang.Object line,
java.lang.String s)
|
static boolean |
checkWholeNumber(java.lang.String intValue,
boolean allowEmpty)
Returns true for valid ints |
static boolean |
isEmpty(java.lang.Object obj)
Returns true if the object is null or contains a String that is empty after trim() is called. |
static boolean |
isEven(int i)
Returns true for Even Integers |
static boolean |
isEven(java.lang.Integer i)
Returns true for Even Integers |
static java.util.Map<java.lang.String,java.lang.Object> |
prefixMap(java.util.Map<java.lang.String,java.lang.Object> map,
java.lang.String prefix)
Convert the given map into a map for only those keys starting with the prefix. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Lang()
Method Detail |
---|
public static java.lang.String checkNull(java.lang.Object line, java.lang.String s)
line
- s
-
public static java.lang.String checkNull(java.lang.Object line)
line
-
public java.lang.String checkFileNameFilter(java.lang.String fileName)
fileName
-
public static boolean isEven(java.lang.Integer i)
public static boolean isEven(int i)
public static boolean checkInt(java.lang.Object intValue)
public static boolean checkWholeNumber(java.lang.String intValue, boolean allowEmpty)
public static boolean isEmpty(java.lang.Object obj)
public static java.util.Map<java.lang.String,java.lang.Object> prefixMap(java.util.Map<java.lang.String,java.lang.Object> map, java.lang.String prefix)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |