public class Util extends Object
| Constructor and Description |
|---|
Util() |
| Modifier and Type | Method and Description |
|---|---|
static URI |
getCodebase(org.glassfish.grizzly.http.server.Request gReq) |
static String |
replaceTokens(String s,
Properties values)
Searches for placeholders of the form ${token-name} in the input String, retrieves
the property with name token-name from the Properties object, and (if
found) replaces the token in the input string with the property value.
|
static String |
toXMLEscaped(String content) |
static String |
toXMLEscapedInclAmp(String content) |
public static String replaceTokens(String s, Properties values)
s - String possibly containing tokensvalues - Properties object containing name/value pairs for substitutionpublic static URI getCodebase(org.glassfish.grizzly.http.server.Request gReq)
Copyright © 2017. All rights reserved.