public class FileSystemExternalBlobAdapter extends AbstractExternalBlobAdapter
Modifier and Type | Field and Description |
---|---|
static String |
CONTAINER_PROPERTY_NAME |
prefix, properties
PREFIX_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, setProperties
public static final String CONTAINER_PROPERTY_NAME
public FileSystemExternalBlobAdapter()
public String getFileAbsolutePath(String localPath) throws PropertyException
PropertyException
public Blob getBlob(String uri) throws PropertyException, IOException
ExternalBlobAdapter
uri
- 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)IOException
Copyright © 2018 Nuxeo. All rights reserved.