public abstract class AbstractExternalBlobAdapter extends Object implements ExternalBlobAdapter
Provides generic methods
Extend this class if you want your contributions to be robust to interface changes.
| Modifier and Type | Field and Description |
|---|---|
protected String |
prefix |
protected Map<String,String> |
properties |
PREFIX_SEPARATOR| Constructor and Description |
|---|
AbstractExternalBlobAdapter() |
| Modifier and Type | Method and Description |
|---|---|
String |
getLocalName(String uri) |
String |
getPrefix()
Returns the prefix to use as marker for this adapter
|
Map<String,String> |
getProperties()
Return specific properties for this adapter.
|
String |
getProperty(String name)
Return property with gievn name.
|
void |
setPrefix(String prefix)
Sets the prefix to use as marker for this adapter
|
void |
setProperties(Map<String,String> properties)
Set specific properties for this adapter.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBlobpublic AbstractExternalBlobAdapter()
public String getPrefix()
ExternalBlobAdaptergetPrefix in interface ExternalBlobAdapterpublic void setPrefix(String prefix)
ExternalBlobAdaptersetPrefix in interface ExternalBlobAdapterpublic Map<String,String> getProperties()
ExternalBlobAdaptergetProperties in interface ExternalBlobAdapterpublic String getProperty(String name)
ExternalBlobAdapterReturns null if no property value is found.
getProperty in interface ExternalBlobAdapterpublic void setProperties(Map<String,String> properties)
ExternalBlobAdaptersetProperties in interface ExternalBlobAdapterpublic String getLocalName(String uri) throws PropertyException
PropertyExceptionCopyright © 2019 Nuxeo. All rights reserved.