public class CodecDescriptor extends Object implements Descriptor
| Modifier and Type | Field and Description |
|---|---|
protected Class<CodecFactory> |
klass |
protected String |
name |
Map<String,String> |
options |
UNIQUE_DESCRIPTOR_ID| Constructor and Description |
|---|
CodecDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
The descriptor id, descriptors with same id are merged.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoesRemove, mergeprotected Class<CodecFactory> klass
public CodecDescriptor()
public String getId()
DescriptorTo forbid multiple descriptors use UNIQUE_DESCRIPTOR_ID.
To forbid merge use a unique value, non-overriden toString() for exemple.
getId in interface DescriptorCopyright © 2019 Nuxeo. All rights reserved.