|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.crsh.cmdline.SimpleValueType<T>
public abstract class SimpleValueType<T>
Field Summary | |
---|---|
static SimpleValueType<Boolean> |
BOOLEAN
. |
static SimpleValueType<Enum> |
ENUM
. |
static SimpleValueType<Integer> |
INTEGER
. |
static SimpleValueType<String> |
STRING
. |
Method Summary | ||
---|---|---|
static SimpleValueType<?> |
get(Class<?> clazz)
|
|
Class<? extends Completer> |
getCompleter()
|
|
Class<T> |
getJavaType()
|
|
int |
getRelativeDegree(Class<?> clazz)
|
|
abstract
|
parse(Class<S> type,
String s)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final SimpleValueType<String> STRING
public static final SimpleValueType<Integer> INTEGER
public static final SimpleValueType<Boolean> BOOLEAN
public static final SimpleValueType<Enum> ENUM
Method Detail |
---|
public static SimpleValueType<?> get(Class<?> clazz)
public int getRelativeDegree(Class<?> clazz)
public Class<? extends Completer> getCompleter()
public Class<T> getJavaType()
public abstract <S extends T> T parse(Class<S> type, String s)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |