org.apache.jackrabbit.core.persistence.util
Interface ResourceBasedBLOBStore
- All Superinterfaces:
- BLOBStore
- All Known Implementing Classes:
- BundleDbPersistenceManager.FSBlobStore, FileSystemBLOBStore
public interface ResourceBasedBLOBStore
- extends BLOBStore
ResourceBasedBLOBStore
extends the BLOBStore
interface with the method getResource(String)
Note that The DataStore should nowadays be used instead of the BLOBStore.
getResource
FileSystemResource getResource(String blobId)
throws Exception
- Retrieves the BLOB data with the specified id as a permanent resource.
- Parameters:
blobId
- identifier of the BLOB data as returned by
BLOBStore.createId(PropertyId, int)
- Returns:
- a resource representing the BLOB data
- Throws:
Exception
- if an error occured
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.