|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.mevenide.properties.resolver.PropertyFilesAggregator
| Field Summary |
| Fields inherited from interface org.mevenide.properties.IPropertyLocator |
LOCATION_DEFAULTS, LOCATION_NOT_DEFINED, LOCATION_PARENT_PROJECT, LOCATION_PARENT_PROJECT_BUILD, LOCATION_PROJECT, LOCATION_PROJECT_BUILD, LOCATION_SYSENV, LOCATION_USER_BUILD |
| Method Summary | |
java.util.Set |
getKeysAtLocation(int location)
returns all the keys at the given location. |
int |
getPropertyLocation(java.lang.String key)
IPropertyLocator method, identifying where the property comes from. |
java.lang.String |
getResolvedValue(java.lang.String key)
Returns the value for the given key, if found. |
java.lang.String |
getValue(java.lang.String key)
Returns the value for the given key, if found. |
protected java.lang.String |
getValue(java.lang.String key,
boolean resolve)
|
java.lang.String |
getValueAtLocation(java.lang.String key,
int location)
get the value of the property as defined at the given location |
boolean |
isDefinedInLocation(java.lang.String key,
int location)
the return value indicates if the property is defined in the particular properties file. |
void |
reload()
releases any cached values and reloads the properties file. |
protected java.lang.StringBuffer |
resolve(java.lang.StringBuffer value)
|
java.lang.String |
resolveString(java.lang.String original)
processes the parameter any definitions with their values. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public java.lang.String getResolvedValue(java.lang.String key)
IPropertyResolver
getResolvedValue in interface IPropertyResolverpublic java.lang.String getValue(java.lang.String key)
IPropertyFinder
getValue in interface IPropertyFinder
protected java.lang.String getValue(java.lang.String key,
boolean resolve)
public int getPropertyLocation(java.lang.String key)
getPropertyLocation in interface IPropertyLocatorprotected final java.lang.StringBuffer resolve(java.lang.StringBuffer value)
public void reload()
IPropertyFinder
reload in interface IPropertyFinderpublic java.lang.String resolveString(java.lang.String original)
IPropertyResolver
resolveString in interface IPropertyResolver
public boolean isDefinedInLocation(java.lang.String key,
int location)
IPropertyLocator
isDefinedInLocation in interface IPropertyLocator
public java.lang.String getValueAtLocation(java.lang.String key,
int location)
IPropertyLocator
getValueAtLocation in interface IPropertyLocatorpublic java.util.Set getKeysAtLocation(int location)
getKeysAtLocation in interface IPropertyLocator
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||