Package com.tangosol.run.xml
Interface UriSerializable
public interface UriSerializable
An interface for URI serialization.
- Author:
- cp 2000.11.10
- See Also:
-
Field Summary
-
Method Summary
-
Field Details
-
URI_DELIM
static final char URI_DELIMDelimiter between multiple fields in a URI.- See Also:
-
URI_NULL
static final char URI_NULLToken to signify a null field in a URI.- See Also:
-
-
Method Details
-
toUri
String toUri()Serialize the object into a URI.- Returns:
- a String containing a URI-serialized form of the object
-
fromUri
Deserialize the object from a URI String. This method can throw one of several RuntimeExceptions.- Parameters:
sUri
- a String containing a URI-serialized form of the object- Throws:
UnsupportedOperationException
- if the operation is not supportedIllegalStateException
- if this is not an appropriate stateIllegalArgumentException
- if there is an illegal argument
-