org.gudy.azureus2.pluginsimpl.local.ddb
Class DDBaseHelpers
java.lang.Object
  
org.gudy.azureus2.pluginsimpl.local.ddb.DDBaseHelpers
public class DDBaseHelpers
- extends Object
 
- Author:
 
  - parg
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
DDBaseHelpers
public DDBaseHelpers()
encode
protected static byte[] encode(Object obj)
                        throws DistributedDatabaseException
- Throws:
 DistributedDatabaseException
 
decode
protected static Object decode(Class target,
                               byte[] data)
                        throws DistributedDatabaseException
- Throws:
 DistributedDatabaseException
 
getKey
protected static HashWrapper getKey(Class c)
                             throws DistributedDatabaseException
- Throws:
 DistributedDatabaseException