org.gudy.azureus2.pluginsimpl.local.ddb
Class DDBaseHelpers

java.lang.Object
  extended by org.gudy.azureus2.pluginsimpl.local.ddb.DDBaseHelpers

public class DDBaseHelpers
extends java.lang.Object

Author:
parg

Constructor Summary
DDBaseHelpers()
           
 
Method Summary
protected static java.lang.Object decode(java.lang.Class target, byte[] data)
           
protected static byte[] encode(java.lang.Object obj)
           
protected static HashWrapper getKey(java.lang.Class c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DDBaseHelpers

public DDBaseHelpers()
Method Detail

encode

protected static byte[] encode(java.lang.Object obj)
                        throws DistributedDatabaseException
Throws:
DistributedDatabaseException

decode

protected static java.lang.Object decode(java.lang.Class target,
                                         byte[] data)
                                  throws DistributedDatabaseException
Throws:
DistributedDatabaseException

getKey

protected static HashWrapper getKey(java.lang.Class c)
                             throws DistributedDatabaseException
Throws:
DistributedDatabaseException