Package org.eclipse.emf.cdo.spi.common
Class CDOLobStoreImpl
- java.lang.Object
-
- org.eclipse.emf.cdo.spi.common.CDOLobStoreImpl
-
- All Implemented Interfaces:
CDOLobStore
public class CDOLobStoreImpl extends java.lang.Object implements CDOLobStore
If the meaning of this type isn't clear, there really should be more of a description here...- Since:
- 4.0
- Author:
- Eike Stepper
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.common.lob.CDOLobStore
CDOLobStore.Delegating
-
-
Field Summary
Fields Modifier and Type Field Description static CDOLobStoreImplINSTANCE
-
Constructor Summary
Constructors Constructor Description CDOLobStoreImpl()CDOLobStoreImpl(java.io.File folder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.security.MessageDigestcreateDigest()java.io.InputStreamgetBinary(CDOLobInfo info)java.io.FilegetBinaryFile(byte[] id)java.io.ReadergetCharacter(CDOLobInfo info)java.io.FilegetCharacterFile(byte[] id)java.io.FilegetFolder()protected java.io.FilegetTempFile()longgetTimeout()CDOLobInfoputBinary(java.io.InputStream contents)CDOLobInfoputCharacter(java.io.Reader contents)voidsetTimeout(long timeout)java.lang.StringtoString()
-
-
-
Field Detail
-
INSTANCE
public static final CDOLobStoreImpl INSTANCE
-
-
Method Detail
-
getTimeout
public long getTimeout()
- Since:
- 4.8
-
setTimeout
public void setTimeout(long timeout)
- Since:
- 4.8
-
getFolder
public java.io.File getFolder()
-
getBinaryFile
public java.io.File getBinaryFile(byte[] id)
- Specified by:
getBinaryFilein interfaceCDOLobStore
-
getBinary
public java.io.InputStream getBinary(CDOLobInfo info) throws java.io.IOException
- Specified by:
getBinaryin interfaceCDOLobStore- Throws:
java.io.IOException
-
putBinary
public CDOLobInfo putBinary(java.io.InputStream contents) throws java.io.IOException
- Specified by:
putBinaryin interfaceCDOLobStore- Throws:
java.io.IOException
-
getCharacterFile
public java.io.File getCharacterFile(byte[] id)
- Specified by:
getCharacterFilein interfaceCDOLobStore
-
getCharacter
public java.io.Reader getCharacter(CDOLobInfo info) throws java.io.IOException
- Specified by:
getCharacterin interfaceCDOLobStore- Throws:
java.io.IOException
-
putCharacter
public CDOLobInfo putCharacter(java.io.Reader contents) throws java.io.IOException
- Specified by:
putCharacterin interfaceCDOLobStore- Throws:
java.io.IOException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
createDigest
protected java.security.MessageDigest createDigest()
-
getTempFile
protected java.io.File getTempFile()
-
-