|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Environment
An environment has a set of key/value properties to be used within your application
| Method Summary | |
|---|---|
String |
get(String string)
Returns a key |
Iterable<String> |
getKeys()
|
String |
getName()
Returns the environment name |
URL |
getResource(String name)
Locates a resource according to your current environment. |
boolean |
has(String key)
Checks if a key is present |
void |
set(String key,
String value)
Sets a key in memory. |
boolean |
supports(String feature)
Checks if a key is equals to true if it's not present will return false |
| Method Detail |
|---|
String getName()
boolean has(String key)
boolean supports(String feature)
String get(String string)
void set(String key,
String value)
key - value - Iterable<String> getKeys()
URL getResource(String name)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||