public class FilePersistentStreamRepository extends AbstractFileRepository implements StreamRepository
BYTE_MASK, DEBUG, HEX_DIGITS, m_baseDirectory, m_extension, m_filter, m_name| Constructor and Description |
|---|
FilePersistentStreamRepository() |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
get(String key) |
protected String |
getExtensionDecorator() |
long |
getSize(String key)
Return the size of the file which belongs to the given key
|
OutputStream |
put(String key) |
configure, containsKey, createChildRepository, decode, encode, getChildRepository, getFile, getInputStream, getLogger, getOutputStream, init, list, remove, setDestination, setFileSystem, setLogclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitlist, removegetChildRepositoryprotected String getExtensionDecorator()
getExtensionDecorator in class AbstractFileRepositoryAbstractFileRepository.getExtensionDecorator()public InputStream get(String key)
get in interface StreamRepositoryStreamRepository.get(java.lang.String)public OutputStream put(String key)
put in interface StreamRepositoryStreamRepository.put(java.lang.String)public long getSize(String key)
key - the key to get the size forCopyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.