com.google.clearsilver.jsilver.functions.escape
Class UrlEscapeFunction

java.lang.Object
  extended by 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.


Constructor Summary
UrlEscapeFunction(String encoding)
           
 
Method Summary
 void filter(String in, Appendable out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UrlEscapeFunction

public UrlEscapeFunction(String encoding)
Method Detail

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.