com.tinkerpop.rexster.protocol
Class BitWorks

java.lang.Object
  extended by com.tinkerpop.rexster.protocol.BitWorks

public class BitWorks
extends Object


Constructor Summary
BitWorks()
           
 
Method Summary
static RexsterBindings convertByteArrayToRexsterBindings(byte[] bytes)
           
static UUID convertByteArrayToUUID(byte[] bytes)
           
static byte[] convertSerializableBindingsToByteArray(Bindings bindings)
           
static byte[] convertStringsToByteArray(String... values)
           
static byte[] convertUUIDToByteArray(UUID uuid)
           
static byte[] getBytesWithLength(Object result)
           
static byte[] getFilteredBytesWithLength(Object result)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BitWorks

public BitWorks()
Method Detail

convertUUIDToByteArray

public static byte[] convertUUIDToByteArray(UUID uuid)

convertByteArrayToUUID

public static UUID convertByteArrayToUUID(byte[] bytes)

convertStringsToByteArray

public static byte[] convertStringsToByteArray(String... values)
                                        throws IOException
Throws:
IOException

convertSerializableBindingsToByteArray

public static byte[] convertSerializableBindingsToByteArray(Bindings bindings)
                                                     throws IOException
Throws:
IOException

convertByteArrayToRexsterBindings

public static RexsterBindings convertByteArrayToRexsterBindings(byte[] bytes)
                                                         throws IOException,
                                                                ClassNotFoundException
Throws:
IOException
ClassNotFoundException

getFilteredBytesWithLength

public static byte[] getFilteredBytesWithLength(Object result)
                                         throws IOException
Throws:
IOException

getBytesWithLength

public static byte[] getBytesWithLength(Object result)
                                 throws IOException
Throws:
IOException


Copyright © 2009-2012. All Rights Reserved.