org.apache.jackrabbit.core.state.util
Interface ResourceBasedBLOBStore

All Superinterfaces:
BLOBStore
All Known Implementing Classes:
FileSystemBLOBStore

public interface ResourceBasedBLOBStore
extends BLOBStore

ResourceBasedBLOBStore extends the BLOBStore interface with the method getResource(String)


Method Summary
 FileSystemResource getResource(String blobId)
          Retrieves the BLOB data with the specified id as a permanent resource.
 
Methods inherited from interface org.apache.jackrabbit.core.state.util.BLOBStore
createId, get, put, remove
 

Method Detail

getResource

public 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-2006 The Apache Software Foundation. All Rights Reserved.