Interface IRepositoryContentConverterHandler
-
public interface IRepositoryContentConverterHandler
Repository Content Converter Handler manages the repository content converter in the platform- Author:
- rmansoor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addConverter(String extension, Converter converter)
Adds a new converter with the extension to the platformConverter
getConverter(String extension)
Retrieves a particular converter based on the extension providedMap<String,Converter>
getConverters()
Retrieves a map of content converters.
-
-
-
Method Detail
-
getConverters
Map<String,Converter> getConverters()
Retrieves a map of content converters. Key is the extension and the value is the converter for that extension.- Returns:
- map of converters and extensions
-
getConverter
Converter getConverter(String extension)
Retrieves a particular converter based on the extension provided- Parameters:
extension
-- Returns:
- content converter
-
-