Class ConfigurationUtils

  • All Implemented Interfaces:

    
    public class ConfigurationUtils
    
                        

    The class ConfigurationUtils provides helper method for configuration handling.

    Since:

    3.0

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static <TProperty> TProperty convert(String value, Class<TProperty> clazz) Convert the specified string value to the property type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • convert

         static <TProperty> TProperty convert(String value, Class<TProperty> clazz)

        Convert the specified string value to the property type.

        Parameters:
        value - the string value
        clazz - the class of the property (must not be null)
        Returns:

        the converted string