|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.vocab.VocabUtils
public class VocabUtils
NOT YET DOCUMENTED
Constructor Summary | |
---|---|
VocabUtils()
|
Method Summary | |
---|---|
static String |
getFieldContent(String metaFormat,
String[] values,
String useVocabMapping,
MetadataVocab vocab)
Gets the vocab encoded keys for the given values, separated by the '+' symbol. |
static String |
getFieldContent(String metaFormat,
String value,
String useVocabMapping,
MetadataVocab vocab)
Gets the encoded vocab key for the given content. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VocabUtils()
Method Detail |
---|
public static String getFieldContent(String metaFormat, String[] values, String useVocabMapping, MetadataVocab vocab) throws Exception
metaFormat
- The metadata format, for example 'adn'values
- The valuse to encode.useVocabMapping
- The mapping to use, for example 'contentStandards'vocab
- The MetadataVocab instance
Exception
- If error.public static String getFieldContent(String metaFormat, String value, String useVocabMapping, MetadataVocab vocab) throws Exception
metaFormat
- The metadata format, for example 'adn'value
- The value to encode.useVocabMapping
- The vocab mapping to use, for example "contentStandard".vocab
- The MetadataVocab instance
Exception
- If error.
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |