public class PropsEntry
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
hasMacro |
protected java.lang.String |
key |
protected PropsEntry |
next |
protected java.lang.String |
profile |
protected PropsData |
propsData |
protected java.lang.String |
value
Original value.
|
Constructor and Description |
---|
PropsEntry(java.lang.String key,
java.lang.String value,
java.lang.String profile,
PropsData propsData) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getKey()
Returns property key.
|
java.lang.String |
getProfile()
Returns property profile or
null if this is a base property. |
java.lang.String |
getValue()
Returns the raw value.
|
java.lang.String |
getValue(java.lang.String... profiles)
Returns the property value, with replaced macros.
|
boolean |
hasMacro()
Returns
true if value has a macro to resolve. |
java.lang.String |
toString() |
protected final java.lang.String value
protected PropsEntry next
protected final java.lang.String key
protected final java.lang.String profile
protected final boolean hasMacro
protected final PropsData propsData
public PropsEntry(java.lang.String key, java.lang.String value, java.lang.String profile, PropsData propsData)
public java.lang.String getValue()
public java.lang.String getValue(java.lang.String... profiles)
public java.lang.String getKey()
public java.lang.String getProfile()
null
if this is a base property.public boolean hasMacro()
true
if value has a macro to resolve.public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2003-present Jodd Team