Package org.eclipse.emf.cdo.common.lob
Class CDOBlob
- java.lang.Object
-
- org.eclipse.emf.cdo.common.lob.CDOLobInfo
-
- org.eclipse.emf.cdo.common.lob.CDOLob<java.io.InputStream>
-
- org.eclipse.emf.cdo.common.lob.CDOBlob
-
public final class CDOBlob extends CDOLob<java.io.InputStream>
An identifiable binary large object with streaming support.- Since:
- 4.0
- Author:
- Eike Stepper
-
-
Constructor Summary
Constructors Constructor Description CDOBlob(byte[] contents, CDOLobStore store)
CDOBlob(java.io.InputStream contents)
CDOBlob(java.io.InputStream contents, CDOLobStore store)
CDOBlob(java.lang.String contents, CDOLobStore store)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getBytes()
java.io.InputStream
getContents()
java.lang.String
getString()
protected CDOLobInfo
put(java.io.InputStream contents)
-
Methods inherited from class org.eclipse.emf.cdo.common.lob.CDOLobInfo
equals, getID, getIDString, getSize, hashCode, toString
-
-
-
-
Constructor Detail
-
CDOBlob
public CDOBlob(java.io.InputStream contents) throws java.io.IOException
- Throws:
java.io.IOException
-
CDOBlob
public CDOBlob(java.io.InputStream contents, CDOLobStore store) throws java.io.IOException
- Throws:
java.io.IOException
-
CDOBlob
public CDOBlob(byte[] contents, CDOLobStore store) throws java.io.IOException
- Throws:
java.io.IOException
- Since:
- 4.13
-
CDOBlob
public CDOBlob(java.lang.String contents, CDOLobStore store) throws java.io.IOException
- Throws:
java.io.IOException
- Since:
- 4.13
-
-
Method Detail
-
getContents
public java.io.InputStream getContents() throws java.io.IOException
- Specified by:
getContents
in classCDOLob<java.io.InputStream>
- Throws:
java.io.IOException
-
getBytes
public byte[] getBytes() throws java.io.IOException
- Throws:
java.io.IOException
- Since:
- 4.13
-
getString
public java.lang.String getString() throws java.io.IOException
-
put
protected CDOLobInfo put(java.io.InputStream contents) throws java.io.IOException
-
-