Package jodd.props

Class PropsEntry

java.lang.Object
jodd.props.PropsEntry

public class PropsEntry extends Object
Holds props value.
  • Field Details

    • value

      protected final String value
      Original value.
    • next

      protected PropsEntry next
    • key

      protected final String key
    • profile

      protected final String profile
    • hasMacro

      protected final boolean hasMacro
    • propsData

      protected final PropsData propsData
  • Constructor Details

  • Method Details

    • getValue

      public String getValue()
      Returns the raw value. Macros are not replaced.
    • getValue

      public String getValue(String... profiles)
      Returns the property value, with replaced macros.
    • getKey

      public String getKey()
      Returns property key.
    • getProfile

      public String getProfile()
      Returns property profile or null if this is a base property.
    • hasMacro

      public boolean hasMacro()
      Returns true if value has a macro to resolve.
    • toString

      public String toString()
      Overrides:
      toString in class Object