|
RichFaces CDK Generator 4.2.0.CR1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.richfaces.cdk.util.JavaUtils
public final class JavaUtils
| Field Summary | |
|---|---|
static com.google.common.collect.ImmutableMap<Class<?>,Class<?>> |
BOXING_CLASSES
|
static com.google.common.base.Function<Class<?>,String> |
CLASS_TO_CLASS_NAME
|
| Method Summary | |
|---|---|
static void |
copyProperties(Object source,
Object destination)
|
static String |
getEscapedString(String s)
Escapes string into Java language expression |
static String |
getEscapedStringsArray(Iterable<String> strings)
Escapes sequence of strings into comma-separated sequence of Java language expressions |
static boolean |
isalnum(char c)
Returns true if the char isalpha() or isdigit(). |
static boolean |
isalpha(char c)
Returns true if the char isupper() or islower(). |
static boolean |
isdigit(char c)
Returns true if the char is from '0' to '9' inclusive. |
static boolean |
islower(char c)
Returns true if the char is from 'a' to 'z' inclusive. |
static boolean |
isupper(char c)
Returns true if the char is from 'A' to 'Z' inclusive. |
static Class<?> |
toBoxingClass(Class<?> targetType)
|
static void |
writeProperty(Object source,
Object destination,
PropertyDescriptor targetProperty,
PropertyDescriptor sourceProperty)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final com.google.common.collect.ImmutableMap<Class<?>,Class<?>> BOXING_CLASSES
public static final com.google.common.base.Function<Class<?>,String> CLASS_TO_CLASS_NAME
| Method Detail |
|---|
public static String getEscapedString(String s)
Escapes string into Java language expression
s -
public static String getEscapedStringsArray(Iterable<String> strings)
Escapes sequence of strings into comma-separated sequence of Java language expressions
strings -
public static boolean isalnum(char c)
public static boolean isalpha(char c)
public static boolean isupper(char c)
public static boolean islower(char c)
public static boolean isdigit(char c)
public static Class<?> toBoxingClass(Class<?> targetType)
public static void copyProperties(Object source,
Object destination)
throws CdkException
CdkException
public static void writeProperty(Object source,
Object destination,
PropertyDescriptor targetProperty,
PropertyDescriptor sourceProperty)
throws IllegalAccessException,
InvocationTargetException
IllegalAccessException
InvocationTargetException
|
RichFaces CDK Generator 4.2.0.CR1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||