org.datanucleus.store.types
Class JodaPeriodStringConverter

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

public class JodaPeriodStringConverter
extends java.lang.Object
implements org.datanucleus.store.types.ObjectStringConverter

Class to handle the conversion between org.joda.time.Period and a String form.


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

Constructor Detail

JodaPeriodStringConverter

public JodaPeriodStringConverter()
Method Detail

toObject

public java.lang.Object toObject(java.lang.String str)
Specified by:
toObject in interface org.datanucleus.store.types.ObjectStringConverter

toString

public java.lang.String toString(java.lang.Object obj)
Specified by:
toString in interface org.datanucleus.store.types.ObjectStringConverter


Copyright © 2011. All Rights Reserved.