Class PropertiesUtils

java.lang.Object
io.micronaut.projectgen.openrewrite.PropertiesUtils

public final class PropertiesUtils extends Object
Utility class to work with Properties.Entry instances.
  • Method Details

    • parseValue

      public static Optional<String> parseValue(org.openrewrite.properties.tree.Properties.Entry entry, String keyName)
      Parameters:
      entry - Entry
      keyName - property key name
      Returns:
      the value associated with the property