org.eclipse.emf.cdo.common.lob
Class CDOLobStore.Delegating

java.lang.Object
  extended by org.eclipse.emf.cdo.common.lob.CDOLobStore.Delegating
All Implemented Interfaces:
CDOLobStore
Enclosing interface:
CDOLobStore

public abstract static class CDOLobStore.Delegating
extends Object
implements CDOLobStore

An abstract large object store that delegates all method calls to a delegate.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.common.lob.CDOLobStore
CDOLobStore.Delegating
 
Constructor Summary
CDOLobStore.Delegating()
           
 
Method Summary
 InputStream getBinary(CDOLobInfo info)
           
 File getBinaryFile(byte[] id)
           
 Reader getCharacter(CDOLobInfo info)
           
 File getCharacterFile(byte[] id)
           
protected abstract  CDOLobStore getDelegate()
           
 CDOLobInfo putBinary(InputStream contents)
           
 CDOLobInfo putCharacter(Reader contents)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CDOLobStore.Delegating

public CDOLobStore.Delegating()
Method Detail

getBinaryFile

public File getBinaryFile(byte[] id)
Specified by:
getBinaryFile in interface CDOLobStore

getBinary

public InputStream getBinary(CDOLobInfo info)
                      throws IOException
Specified by:
getBinary in interface CDOLobStore
Throws:
IOException

putBinary

public CDOLobInfo putBinary(InputStream contents)
                     throws IOException
Specified by:
putBinary in interface CDOLobStore
Throws:
IOException

getCharacterFile

public File getCharacterFile(byte[] id)
Specified by:
getCharacterFile in interface CDOLobStore

getCharacter

public Reader getCharacter(CDOLobInfo info)
                    throws IOException
Specified by:
getCharacter in interface CDOLobStore
Throws:
IOException

putCharacter

public CDOLobInfo putCharacter(Reader contents)
                        throws IOException
Specified by:
putCharacter in interface CDOLobStore
Throws:
IOException

getDelegate

protected abstract CDOLobStore getDelegate()


Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.