Class MetadataFormatManager
- java.lang.Object
-
- com.lyncode.xoai.dataprovider.format.MetadataFormatManager
-
public class MetadataFormatManager extends Object
- Version:
- 3.1.0
-
-
Constructor Summary
Constructors Constructor Description MetadataFormatManager(ResourceResolver resolver, List<FormatConfiguration> config, FilterManager filterManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanformatExists(String id)MetadataFormatgetFormat(String id)MetadataFormatgetFormatByPrefix(String prefix)List<MetadataFormat>getFormats(ItemIdentifier item)
-
-
-
Constructor Detail
-
MetadataFormatManager
public MetadataFormatManager(ResourceResolver resolver, List<FormatConfiguration> config, FilterManager filterManager) throws ConfigurationException
- Throws:
ConfigurationException
-
-
Method Detail
-
formatExists
public boolean formatExists(String id)
-
getFormat
public MetadataFormat getFormat(String id)
-
getFormats
public List<MetadataFormat> getFormats(ItemIdentifier item)
-
getFormatByPrefix
public MetadataFormat getFormatByPrefix(String prefix) throws BadArgumentException
- Throws:
BadArgumentException
-
-