public class CDOLobStoreImpl extends java.lang.Object implements CDOLobStore
CDOLobStore.Delegating
Modifier and Type | Field and Description |
---|---|
static CDOLobStoreImpl |
INSTANCE |
Constructor and Description |
---|
CDOLobStoreImpl() |
CDOLobStoreImpl(java.io.File folder) |
Modifier and Type | Method and Description |
---|---|
protected java.security.MessageDigest |
createDigest() |
java.io.InputStream |
getBinary(CDOLobInfo info) |
java.io.File |
getBinaryFile(byte[] id) |
java.io.Reader |
getCharacter(CDOLobInfo info) |
java.io.File |
getCharacterFile(byte[] id) |
java.io.File |
getFolder() |
protected java.io.File |
getTempFile() |
long |
getTimeout() |
CDOLobInfo |
putBinary(java.io.InputStream contents) |
CDOLobInfo |
putCharacter(java.io.Reader contents) |
void |
setTimeout(long timeout) |
java.lang.String |
toString() |
public static final CDOLobStoreImpl INSTANCE
public CDOLobStoreImpl(java.io.File folder)
public CDOLobStoreImpl()
public long getTimeout()
public void setTimeout(long timeout)
public java.io.File getFolder()
public java.io.File getBinaryFile(byte[] id)
getBinaryFile
in interface CDOLobStore
public java.io.InputStream getBinary(CDOLobInfo info) throws java.io.IOException
getBinary
in interface CDOLobStore
java.io.IOException
public CDOLobInfo putBinary(java.io.InputStream contents) throws java.io.IOException
putBinary
in interface CDOLobStore
java.io.IOException
public java.io.File getCharacterFile(byte[] id)
getCharacterFile
in interface CDOLobStore
public java.io.Reader getCharacter(CDOLobInfo info) throws java.io.IOException
getCharacter
in interface CDOLobStore
java.io.IOException
public CDOLobInfo putCharacter(java.io.Reader contents) throws java.io.IOException
putCharacter
in interface CDOLobStore
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object
protected java.security.MessageDigest createDigest()
protected java.io.File getTempFile()
Copyright (c) 2004-2019 Eike Stepper (Loehne, 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