Class PropertiesParamPlugin

java.lang.Object
io.vertigo.core.plugins.param.properties.PropertiesParamPlugin
All Implemented Interfaces:
ParamPlugin, CoreComponent, Plugin

public final class PropertiesParamPlugin extends Object implements ParamPlugin
Plugin de gestion de configuration de fichiers properties.
Author:
skerdudou
  • Constructor Details

    • PropertiesParamPlugin

      @Inject public PropertiesParamPlugin(ResourceManager resourceManager, String url) throws IOException
      Constructor.
      Parameters:
      resourceManager - Selector
      url - Url du fichier XML de configuration
      Throws:
      IOException - erreur de lecture du fichier
  • Method Details

    • getParam

      public Optional<Param> getParam(String paramName)
      Returns a configuration parameter. Returns none if the parameter is not managed.
      Specified by:
      getParam in interface ParamPlugin
      Parameters:
      paramName - Name of the parameter
      Returns:
      Value of the parameter