public static interface RuntimeDelegate.HeaderDelegate<T>
T
.Modifier and Type | Method and Description |
---|---|
T |
fromString(java.lang.String value)
Parse the supplied value and create an instance of
T . |
java.lang.String |
toString(T value)
Convert the supplied value to a String.
|
T fromString(java.lang.String value) throws java.lang.IllegalArgumentException
T
.value
- the string valueT
java.lang.IllegalArgumentException
- if the supplied string cannot be
parsed or is nulljava.lang.String toString(T value)
value
- the value of type T
java.lang.IllegalArgumentException
- if the supplied object cannot be
serialized or is nullCopyright © 2016 Oracle Corporation. All Rights Reserved.