Example usage for Java com.google.gwt.safehtml.shared UriUtils fields, constructors, methods, implement or subclass
The text is from its open source code.
String | encode(String uri) Encodes the URL. |
String | extractScheme(String uri) Extracts the scheme of a URI. |
SafeUri | fromSafeConstant(String s) Returns a SafeUri constructed from a value that is fully under the control of the program, e.g., a constant. |
SafeUri | fromString(String s) Returns a SafeUri obtained by sanitizing the provided string. |
SafeUri | fromTrustedString(String s) Returns a SafeUri constructed from a trusted string, i.e., without sanitizing the string. |
boolean | isSafeUri(String uri) Determines if a String is safe to use as the value of a URI-valued HTML attribute such as src or href . |
String | sanitizeUri(String uri) Sanitizes a URI. |