java.lang.Object
com.github.egoettelmann.spring.configuration.extensions.annotationprocessor.value.core.ValueAnnotationParser

public class ValueAnnotationParser extends Object
Parser to resolve property placeholders within value annotations
  • Constructor Details

    • ValueAnnotationParser

      public ValueAnnotationParser()
  • Method Details

    • parse

      public Map<String,String> parse(String value) throws IllegalArgumentException
      Parses a value and returns a map of properties found, with: - the key being the property - the value being the default value (can be null)
      Parameters:
      value - the value to parse
      Returns:
      the map of parse properties and their default values
      Throws:
      IllegalArgumentException - if the provided value is invalid and cannot be parsed