public class CDOLobStoreImpl extends Object implements CDOLobStore
CDOLobStore.Delegating
Modifier and Type | Field and Description |
---|---|
static CDOLobStoreImpl |
INSTANCE |
Constructor and Description |
---|
CDOLobStoreImpl() |
CDOLobStoreImpl(File folder) |
Modifier and Type | Method and Description |
---|---|
protected MessageDigest |
createDigest() |
InputStream |
getBinary(CDOLobInfo info) |
File |
getBinaryFile(byte[] id) |
Reader |
getCharacter(CDOLobInfo info) |
File |
getCharacterFile(byte[] id) |
File |
getFolder() |
protected File |
getTempFile() |
CDOLobInfo |
putBinary(InputStream contents) |
CDOLobInfo |
putCharacter(Reader contents) |
public static final CDOLobStoreImpl INSTANCE
public CDOLobStoreImpl(File folder)
public CDOLobStoreImpl()
public File getFolder()
public File getBinaryFile(byte[] id)
getBinaryFile
in interface CDOLobStore
public InputStream getBinary(CDOLobInfo info) throws IOException
getBinary
in interface CDOLobStore
IOException
public CDOLobInfo putBinary(InputStream contents) throws IOException
putBinary
in interface CDOLobStore
IOException
public File getCharacterFile(byte[] id)
getCharacterFile
in interface CDOLobStore
public Reader getCharacter(CDOLobInfo info) throws IOException
getCharacter
in interface CDOLobStore
IOException
public CDOLobInfo putCharacter(Reader contents) throws IOException
putCharacter
in interface CDOLobStore
IOException
protected MessageDigest createDigest()
protected File getTempFile()
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.