Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

oracle.cabo.share.url
Interface URLEncoder

All Known Subinterfaces:
PageEncoder
All Known Implementing Classes:
ServletURLEncoder, AgentURLEncoder

public interface URLEncoder

Interface for the encoding of URLs.


Method Summary
 java.lang.String encodeParameter(java.lang.String key)
          Given the logical name of a parameter, return the parameter key that should be used in the URL.
 java.lang.String encodeURL(java.lang.String url)
          Encode an URL.
 java.lang.String getDefaultURL()
           
 

Method Detail

encodeParameter

public java.lang.String encodeParameter(java.lang.String key)
Given the logical name of a parameter, return the parameter key that should be used in the URL. This function should not be used for parameter values.

encodeURL

public java.lang.String encodeURL(java.lang.String url)
Encode an URL.

getDefaultURL

public java.lang.String getDefaultURL()
Returns:
this is an URL to the current page. This is useful, for example, in a form submission; if the destination of a form has not been set, this default URL can be used to submit the form back to the page it originated from.

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

Copyright © 2002,2003, Oracle. All Rights Reserved.