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) |
String |
toString() |
public static final CDOLobStoreImpl INSTANCE
public CDOLobStoreImpl(File folder)
public CDOLobStoreImpl()
public File getFolder()
public File getBinaryFile(byte[] id)
getBinaryFile in interface CDOLobStorepublic InputStream getBinary(CDOLobInfo info) throws IOException
getBinary in interface CDOLobStoreIOExceptionpublic CDOLobInfo putBinary(InputStream contents) throws IOException
putBinary in interface CDOLobStoreIOExceptionpublic File getCharacterFile(byte[] id)
getCharacterFile in interface CDOLobStorepublic Reader getCharacter(CDOLobInfo info) throws IOException
getCharacter in interface CDOLobStoreIOExceptionpublic CDOLobInfo putCharacter(Reader contents) throws IOException
putCharacter in interface CDOLobStoreIOExceptionprotected MessageDigest createDigest()
protected File getTempFile()
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html