org.datanucleus.store.types
Class URIStringConverter

java.lang.Object
  extended by org.datanucleus.store.types.URIStringConverter
All Implemented Interfaces:
ObjectStringConverter

public class URIStringConverter
extends java.lang.Object
implements ObjectStringConverter

Class to handle the conversion between java.net.URI and a String form.


Field Summary
 
Fields inherited from interface org.datanucleus.store.types.ObjectStringConverter
LOCALISER
 
Constructor Summary
URIStringConverter()
           
 
Method Summary
 java.lang.Object toObject(java.lang.String str)
          Method to convert from String back to the object.
 java.lang.String toString(java.lang.Object obj)
          Method to convert from the object to its String form
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URIStringConverter

public URIStringConverter()
Method Detail

toObject

public java.lang.Object toObject(java.lang.String str)
Description copied from interface: ObjectStringConverter
Method to convert from String back to the object.

Specified by:
toObject in interface ObjectStringConverter
Parameters:
str - The string
Returns:
The object

toString

public java.lang.String toString(java.lang.Object obj)
Description copied from interface: ObjectStringConverter
Method to convert from the object to its String form

Specified by:
toString in interface ObjectStringConverter
Parameters:
obj - The object
Returns:
String form


Copyright © 2009. All Rights Reserved.