|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Instances of this interface are able to find out where the given property is defined.
| Field Summary | |
static int |
LOCATION_DEFAULTS
Location constant, the given key is default. |
static int |
LOCATION_NOT_DEFINED
Location constant, the given key was not found. |
static int |
LOCATION_PARENT_PROJECT
Location constant, the given key is in parent's directory project.properties file. |
static int |
LOCATION_PARENT_PROJECT_BUILD
Location constant, the given key is in parent's directory build.properties file. |
static int |
LOCATION_PROJECT
Location constant, the given key is in project.properties file. |
static int |
LOCATION_PROJECT_BUILD
Location constant, the given key is in ${basedir}/build.properties file. |
static int |
LOCATION_SYSENV
sys |
static int |
LOCATION_USER_BUILD
Location constant, the given key is in ${user.home}/build.properties file. |
| Method Summary | |
java.util.Set |
getKeysAtLocation(int location)
returns all the keys at the given location. |
int |
getPropertyLocation(java.lang.String key)
Returns where the key is located. |
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. |
| Field Detail |
public static final int LOCATION_NOT_DEFINED
public static final int LOCATION_DEFAULTS
public static final int LOCATION_PROJECT
public static final int LOCATION_PROJECT_BUILD
public static final int LOCATION_USER_BUILD
public static final int LOCATION_PARENT_PROJECT
public static final int LOCATION_PARENT_PROJECT_BUILD
public static final int LOCATION_SYSENV
| Method Detail |
public int getPropertyLocation(java.lang.String key)
public boolean isDefinedInLocation(java.lang.String key,
int location)
public java.util.Set getKeysAtLocation(int location)
public java.lang.String getValueAtLocation(java.lang.String key,
int location)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||