org.apache.avalon.cornerstone.blocks.masterstore
Class CDIFilePersistentStreamRepository
java.lang.Object
org.apache.avalon.cornerstone.blocks.masterstore.AbstractFileRepository
org.apache.avalon.cornerstone.blocks.masterstore.AbstractFilePersistentStreamRepository
org.apache.avalon.cornerstone.blocks.masterstore.CDIFilePersistentStreamRepository
- All Implemented Interfaces:
- Repository, StreamRepository
public class CDIFilePersistentStreamRepository
- extends AbstractFilePersistentStreamRepository
- implements StreamRepository
Implementation of a StreamRepository to a File.
TODO: -retieve(String key) should return a FilterInputStream to allow
mark and reset methods. (working not like BufferedInputStream!!!)
- Author:
- Federico Barbieri
Fields inherited from class org.apache.avalon.cornerstone.blocks.masterstore.AbstractFileRepository |
BYTE_MASK, DEBUG, HANDLED_URL, HEX_DIGITS, m_baseDirectory, m_destination, m_extension, m_filter, m_name, m_path, monitor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CDIFilePersistentStreamRepository
public CDIFilePersistentStreamRepository(FileRepositoryMonitor monitor,
ObjectRespositoryConfig config)
throws IOException
- Throws:
IOException
initializeChild
protected void initializeChild(AbstractFileRepository child)
throws Exception
- Specified by:
initializeChild
in class AbstractFileRepository
- Throws:
Exception
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.