com.partnersoft.v3x.data
Class String2PartnerTime

java.lang.Object
  extended by com.partnersoft.v3x.data.String2PartnerTime
All Implemented Interfaces:
ObjectTransform

public class String2PartnerTime
extends java.lang.Object
implements ObjectTransform

A transform that turns a String of specified format into a PartnerTime.


Constructor Summary
String2PartnerTime()
           
String2PartnerTime(java.lang.String format)
           
 
Method Summary
 java.lang.String getFormat()
           
 void setFormat(java.lang.String newFormat)
           
 java.lang.Object transform(java.lang.Object victim)
          Our one method; this transforms one object into another.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

String2PartnerTime

public String2PartnerTime()

String2PartnerTime

public String2PartnerTime(java.lang.String format)
Method Detail

transform

public java.lang.Object transform(java.lang.Object victim)
Description copied from interface: ObjectTransform
Our one method; this transforms one object into another. Transformation must be nondestructive, but may produce a derived product that is still affected by changes to the original, so beware.

Specified by:
transform in interface ObjectTransform

getFormat

public java.lang.String getFormat()

setFormat

public void setFormat(java.lang.String newFormat)