|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.dpml.util.SimpleResolver
public class SimpleResolver
Build-time value resolver.
| Constructor Summary | |
|---|---|
SimpleResolver()
|
|
| Method Summary | |
|---|---|
String |
getProperty(String key)
Return a property value. |
String |
getProperty(String key,
String value)
Return a property value. |
String |
resolve(String value)
Symbolic expansion of a supplied value. |
URI |
toURI(String ref)
Utility function supporting resolution of uris containing 'resource' or 'alias' schemes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleResolver()
| Method Detail |
|---|
public URI toURI(String ref)
throws URISyntaxException
toURI in interface Resolverref - the uri argument
URISyntaxException - if an error occurs during uri creationpublic String getProperty(String key)
getProperty in interface Resolverkey - the property key
public String getProperty(String key,
String value)
getProperty in interface Resolverkey - the property keyvalue - the default value
public String resolve(String value)
resolve in interface Resolvervalue - a string containing possibly multiple ${[value]} sequences
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||