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, wait
getBlob
public AbstractExternalBlobAdapter()
public String getPrefix()
ExternalBlobAdapter
getPrefix
in interface ExternalBlobAdapter
public void setPrefix(String prefix)
ExternalBlobAdapter
setPrefix
in interface ExternalBlobAdapter
public Map<String,String> getProperties()
ExternalBlobAdapter
getProperties
in interface ExternalBlobAdapter
public String getProperty(String name)
ExternalBlobAdapter
Returns null if no property value is found.
getProperty
in interface ExternalBlobAdapter
public void setProperties(Map<String,String> properties)
ExternalBlobAdapter
setProperties
in interface ExternalBlobAdapter
public String getLocalName(String uri) throws PropertyException
PropertyException
Copyright © 2018 Nuxeo. All rights reserved.