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, setLog
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
list, remove
getChildRepository
protected String getExtensionDecorator()
getExtensionDecorator
in class AbstractFileRepository
AbstractFileRepository.getExtensionDecorator()
public InputStream get(String key)
get
in interface StreamRepository
StreamRepository.get(java.lang.String)
public OutputStream put(String key)
put
in interface StreamRepository
StreamRepository.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.