org.eclipse.emf.cdo.common.lob
Class CDOLobUtil

java.lang.Object
  extended by org.eclipse.emf.cdo.common.lob.CDOLobUtil

public final class CDOLobUtil
extends Object

Some useful helpers for dealing with large objects.

Since:
4.0

Method Summary
static CDOBlob createBlob(byte[] id, long size)
           
static CDOClob createClob(byte[] id, long size)
           
static CDOBlob readBlob(ExtendedDataInput in)
           
static CDOClob readClob(ExtendedDataInput in)
           
static void setStore(CDOLobStore store, CDOLob<?> lob)
           
static void write(ExtendedDataOutput out, CDOLob<?> lob)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

readBlob

public static CDOBlob readBlob(ExtendedDataInput in)
                        throws IOException
Throws:
IOException

readClob

public static CDOClob readClob(ExtendedDataInput in)
                        throws IOException
Throws:
IOException

write

public static void write(ExtendedDataOutput out,
                         CDOLob<?> lob)
                  throws IOException
Throws:
IOException

createBlob

public static CDOBlob createBlob(byte[] id,
                                 long size)

createClob

public static CDOClob createClob(byte[] id,
                                 long size)

setStore

public static void setStore(CDOLobStore store,
                            CDOLob<?> lob)
                     throws IOException
Throws:
IOException


Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.