Oracle® Coherence Java API Reference
v3.5.3

E15583-01

com.tangosol.run.xml
Interface UriSerializable


public interface UriSerializable

An interface for URI serialization.

Author:
cp 2000.11.10
See Also:
http://www.ietf.org/rfc/rfc2396.txt

Field Summary
static char URI_DELIM
          Delimiter between multiple fields in a URI.
static char URI_NULL
          Token to signify a null field in a URI.
 
Method Summary
 void fromUri(java.lang.String sUri)
          Deserialize the object from a URI String.
 java.lang.String toUri()
          Serialize the object into a URI.
 

Field Detail

URI_DELIM

static final char URI_DELIM
Delimiter between multiple fields in a URI.

See Also:
Constant Field Values

URI_NULL

static final char URI_NULL
Token to signify a null field in a URI.

See Also:
Constant Field Values
Method Detail

toUri

java.lang.String toUri()
Serialize the object into a URI.

Returns:
a String containing a URI-serialized form of the object

fromUri

void fromUri(java.lang.String sUri)
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:
java.lang.UnsupportedOperationException
java.lang.IllegalStateException
java.lang.IllegalArgumentException

Oracle® Coherence Java API Reference
v3.5.3

E15583-01

Copyright © 2000, 2010, Oracle. All rights reserved.