public static interface RuntimeDelegate.HeaderDelegate<T>
T
.Modifier and Type | Method and Description |
---|---|
T |
fromString(String value)
Parse the supplied value and create an instance of
T . |
String |
toString(T value)
Convert the supplied value to a String.
|
T fromString(String value) throws IllegalArgumentException
T
.value
- the string valueT
IllegalArgumentException
- if the supplied string cannot be
parsed or is nullString toString(T value)
value
- the value of type T
IllegalArgumentException
- if the supplied object cannot be
serialized or is nullCopyright © 2014 Sun Microsystems, Inc. All rights reserved.