org.jcon.store
Interface StreamingStore

All Known Implementing Classes:
ClassResourceStore, FileSystemStore

public interface StreamingStore

An interface for lower-level storage mechanisms that support hierarchically-named files or whatever that we can get input and output streams for.

Author:
Paul Reavis

Method Summary
 java.io.Reader readerFor(java.lang.String storagePath)
          Returns an reader for the given storage path.
 java.io.Writer writerFor(java.lang.String storagePath)
          Returns a writer for the given storage path.
 

Method Detail

readerFor

java.io.Reader readerFor(java.lang.String storagePath)
Returns an reader for the given storage path.


writerFor

java.io.Writer writerFor(java.lang.String storagePath)
                         throws StoreException
Returns a writer for the given storage path. Throws StoreException if writing is not possible.

Throws:
StoreException