com.ricebridge.csvman.test
Class SaveBeansTest.DateConverter

java.lang.Object
  extended bycom.ricebridge.data.sc.StringConverterSupport
      extended bycom.ricebridge.data.sc.DefaultStringConverter
          extended bycom.ricebridge.csvman.test.SaveBeansTest.DateConverter
All Implemented Interfaces:
StringConverter
Enclosing class:
SaveBeansTest

public static class SaveBeansTest.DateConverter
extends DefaultStringConverter


Constructor Summary
SaveBeansTest.DateConverter()
           
 
Method Summary
protected  Object makeDefaultObjectImpl()
          Return an empty string.
protected  String makeDefaultStringImpl()
          Return an empty string.
protected  Object makeObjectImpl(String pValue)
          Implement this method to create an object based on a textual representation.
protected  String makeStringImpl(Object pValue)
          Implement this method to produce a textual representation of an object.
 
Methods inherited from class com.ricebridge.data.sc.DefaultStringConverter
makeObjectImpl, makeStringImpl
 
Methods inherited from class com.ricebridge.data.sc.StringConverterSupport
makeDefaultObject, makeDefaultString, makeObject, makeString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SaveBeansTest.DateConverter

public SaveBeansTest.DateConverter()
Method Detail

makeObjectImpl

protected Object makeObjectImpl(String pValue)
                         throws Exception
Description copied from class: DefaultStringConverter
Implement this method to create an object based on a textual representation.

If an error occurs, just throw an Exception.

Specified by:
makeObjectImpl in class DefaultStringConverter
Parameters:
pValue - textual representation
Throws:
Exception

makeDefaultObjectImpl

protected Object makeDefaultObjectImpl()
Description copied from class: DefaultStringConverter
Return an empty string.

Override this method if you need a different default object.

Overrides:
makeDefaultObjectImpl in class DefaultStringConverter

makeStringImpl

protected String makeStringImpl(Object pValue)
                         throws Exception
Description copied from class: DefaultStringConverter
Implement this method to produce a textual representation of an object.

If an error occurs, just throw an Exception.

Specified by:
makeStringImpl in class DefaultStringConverter
Parameters:
pValue - object
Throws:
Exception

makeDefaultStringImpl

protected String makeDefaultStringImpl()
Description copied from class: DefaultStringConverter
Return an empty string.

Override this method if you need a different default text.

Overrides:
makeDefaultStringImpl in class DefaultStringConverter


Copyright © 2003-2006 Ricebridge