public class SimpleCachableBlobHolder extends SimpleBlobHolder implements CachableBlobHolder
SimpleBlobHolder
.Constructor and Description |
---|
SimpleCachableBlobHolder() |
SimpleCachableBlobHolder(Blob blob) |
SimpleCachableBlobHolder(List<Blob> blobs) |
SimpleCachableBlobHolder(String path) |
Modifier and Type | Method and Description |
---|---|
void |
addDirectoryToList(File directory,
String prefix) |
void |
load(String path)
Reloads the
BlobHolder from a file. |
String |
persist(String basePath)
Persists the blobHolder to disk.
|
getBlob, getBlobs, getModificationDate, getProperties, getProperty
getFilePath, getHash, setBlob
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBlob, getBlobs, getFilePath, getHash, getModificationDate, getProperties, getProperty, setBlob
public SimpleCachableBlobHolder()
public SimpleCachableBlobHolder(Blob blob)
public SimpleCachableBlobHolder(String path)
public void load(String path)
CachableBlobHolder
BlobHolder
from a file.load
in interface CachableBlobHolder
public void addDirectoryToList(File directory, String prefix) throws ConversionException
ConversionException
public String persist(String basePath) throws Exception
CachableBlobHolder
persist
in interface CachableBlobHolder
basePath
- the base path (existing directory) as determined by the callerException
Copyright © 2013 Nuxeo SA. All Rights Reserved.