com.google.clearsilver.jsilver.functions.escape
Class UrlEscapeFunction
java.lang.Object
com.google.clearsilver.jsilver.functions.escape.UrlEscapeFunction
- All Implemented Interfaces:
- TextFilter
public class UrlEscapeFunction
- extends Object
- implements TextFilter
This URL encodes the string. This converts characters such as ?, ampersands, and = into their URL
safe equivilants using the %hh syntax.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UrlEscapeFunction
public UrlEscapeFunction(String encoding)
filter
public void filter(String in,
Appendable out)
throws IOException
- Specified by:
filter
in interface TextFilter
- Throws:
IOException
Copyright © 2010-2012 Google. All Rights Reserved.