Interface IRepositoryContentConverterHandler


  • public interface IRepositoryContentConverterHandler
    Repository Content Converter Handler manages the repository content converter in the platform
    Author:
    rmansoor
    • 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
      • addConverter

        void addConverter​(String extension,
                          Converter converter)
        Adds a new converter with the extension to the platform
        Parameters:
        extension -
        converter -