public class FileSystemExternalBlobAdapter extends AbstractExternalBlobAdapter
| Modifier and Type | Field and Description |
|---|---|
static String |
CONTAINER_PROPERTY_NAME |
prefix, propertiesPREFIX_SEPARATOR| Constructor and Description |
|---|
FileSystemExternalBlobAdapter() |
| Modifier and Type | Method and Description |
|---|---|
Blob |
getBlob(String uri)
Retrieves the blob for given uri.
|
String |
getFileAbsolutePath(String localPath) |
getLocalName, getPrefix, getProperties, getProperty, setPrefix, setPropertiespublic static final String CONTAINER_PROPERTY_NAME
public FileSystemExternalBlobAdapter()
public String getFileAbsolutePath(String localPath) throws PropertyException
PropertyExceptionpublic Blob getBlob(String uri) throws PropertyException, IOException
ExternalBlobAdapteruri - the uri describing what adapter handles the file and the needed info to retrieve it.PropertyException - if the blob cannot be retrieved (if adapter cannot retrieve it or if file is not found
for instance)IOExceptionCopyright © 2019 Nuxeo. All rights reserved.