001    package railo.runtime.functions.other;
002    
003    import railo.runtime.PageContext;
004    import railo.runtime.exp.PageException;
005    
006    public class URLEncode {
007    
008            
009            public static String call(PageContext pc , String str) throws PageException {
010                    return URLEncodedFormat.call(pc,str, "UTF-8",true);
011            }
012            
013    
014            public static String call(PageContext pc , String str, String encoding) throws PageException {
015                    return URLEncodedFormat.call(pc,str, encoding,true);
016            }
017            
018            public static String call(PageContext pc , String str, String encoding,boolean force) throws PageException {
019                    return URLEncodedFormat.call(pc,str, encoding,force);
020            }
021    
022    }