com.parabon.client
Class TaskUtil

java.lang.Object
  extended by com.parabon.client.TaskUtil

public class TaskUtil
extends java.lang.Object


Constructor Summary
TaskUtil()
           
 
Method Summary
static java.lang.String objectToString(java.io.Serializable object)
          Serialize an object and encode the resulting data in a String, to be later deserialized via TaskUtil.stringToObject.
static java.io.Serializable stringToObject(java.lang.String s)
          Deserialize an object previously serialized via TaskUtil.objectToString.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaskUtil

public TaskUtil()
Method Detail

objectToString

public static java.lang.String objectToString(java.io.Serializable object)
                                       throws SerializationException
Serialize an object and encode the resulting data in a String, to be later deserialized via TaskUtil.stringToObject. This method is useful in order to, for instance, quickly and easily encode a small amount of data in a job or task attribute.

Throws:
SerializationException
See Also:
stringToObject(java.lang.String)

stringToObject

public static java.io.Serializable stringToObject(java.lang.String s)
                                           throws DeserializationException
Deserialize an object previously serialized via TaskUtil.objectToString.

Throws:
DeserializationException
See Also:
objectToString(java.io.Serializable)