public class SqlSpacesConverter
extends java.lang.Object
Constructor and Description |
---|
SqlSpacesConverter() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
fromString(java.lang.String s)
Read the object from Base64 string;
|
static DDBSCommand |
getObject(info.collide.sqlspaces.commons.Tuple myCommand)
Convert the tuple object into a command object
|
static info.collide.sqlspaces.commons.Tuple |
getTuple(DDBSCommand myCommand,
int timeout)
Convert the command object into tuple objects
|
static java.lang.String |
toString(java.io.Serializable o)
Write the object to a Base64 string
|
public static info.collide.sqlspaces.commons.Tuple getTuple(DDBSCommand myCommand, int timeout) throws java.lang.Exception
myCommand
- DDBS Commandtimeout
- Timeoutjava.lang.Exception
- Exceptionpublic static DDBSCommand getObject(info.collide.sqlspaces.commons.Tuple myCommand) throws java.lang.ClassNotFoundException, java.io.IOException
myCommand
- DDBS Commandjava.io.IOException
- Input exceptionjava.lang.ClassNotFoundException
- Class not foundpublic static java.lang.Object fromString(java.lang.String s) throws java.io.IOException, java.lang.ClassNotFoundException
s
- String to convert to objectjava.io.IOException
- IO Exceptionjava.lang.ClassNotFoundException
- Class not found exceptionpublic static java.lang.String toString(java.io.Serializable o) throws java.io.IOException
o
- object to convert to Stringjava.io.IOException
- IO exception