com.sage.swt.client.gwt
Interface URLEncoder

All Known Implementing Classes:
GWTURLEncoder

public interface URLEncoder

The URLEncoder interface declares the functionality we use from the GWT URL encoding system. The methods are as for the corresponding methods of the GWT classes


Method Summary
 java.lang.String encode(java.lang.String decoded)
          encode the whole URL, as performed by the GWT URL.encode(String) method
 java.lang.String encodeComponent(java.lang.String decoded)
          encode a component of the URL, as performed by the GWT {URL#encodeComponent} method
 

Method Detail

encodeComponent

java.lang.String encodeComponent(java.lang.String decoded)
encode a component of the URL, as performed by the GWT {URL#encodeComponent} method

Parameters:
decoded - the component in its decoded form
Returns:
the component in its encoded form

encode

java.lang.String encode(java.lang.String decoded)
encode the whole URL, as performed by the GWT URL.encode(String) method

Parameters:
decoded - the URL in its decoded form
Returns:
the URL in its encoded form


Copyright © 2011 Sage Software, Inc. All rights reserved.