public class TokenResolver extends Object
| Constructor and Description |
|---|
TokenResolver()
Empty constructor means use System Properties
|
TokenResolver(Map<String,String> map) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
hasToken(String s) |
void |
resolve(List<String> list)
Replace $[variables} in list with a matching property from the map
|
void |
resolve(Map<String,String> map)
Replace $[variables} in map with a matching property from the map that this
instance was constructed with.
|
String |
resolve(String s)
Replace $[variables} with a matching property in the map
|
public TokenResolver()
public void resolve(Map<String,String> map)
map - Map of Strings to be token-replacedpublic void resolve(List<String> list)
list - List of Strings to be token-replacedpublic String resolve(String s)
s - String to be token-replacedpublic static boolean hasToken(String s)
Copyright © 2017–2020 Eclipse Foundation. All rights reserved.