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

java.lang.Object
  extended by org.eclipse.emf.cdo.common.lob.CDOLobInfo
      extended by org.eclipse.emf.cdo.common.lob.CDOLob<InputStream>
          extended by org.eclipse.emf.cdo.common.lob.CDOBlob

public final class CDOBlob
extends CDOLob<InputStream>

A identifiable binary large object with streaming support.

Since:
4.0

Constructor Summary
CDOBlob(InputStream contents)
           
CDOBlob(InputStream contents, CDOLobStore store)
           
 
Method Summary
 InputStream getContents()
           
protected  CDOLobInfo put(InputStream contents)
           
 
Methods inherited from class org.eclipse.emf.cdo.common.lob.CDOLob
getStore
 
Methods inherited from class org.eclipse.emf.cdo.common.lob.CDOLobInfo
getID, getSize, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CDOBlob

public CDOBlob(InputStream contents)
        throws IOException
Throws:
IOException

CDOBlob

public CDOBlob(InputStream contents,
               CDOLobStore store)
        throws IOException
Throws:
IOException
Method Detail

getContents

public InputStream getContents()
                        throws IOException
Specified by:
getContents in class CDOLob<InputStream>
Throws:
IOException

put

protected CDOLobInfo put(InputStream contents)
                  throws IOException
Specified by:
put in class CDOLob<InputStream>
Throws:
IOException


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