org.zkoss.zk.ui.util
Class ThemeProvider.Aide

java.lang.Object
  extended by org.zkoss.zk.ui.util.ThemeProvider.Aide
Enclosing interface:
ThemeProvider

public static class ThemeProvider.Aide
extends java.lang.Object

Utilities to help the implementation of ThemeProvider to manipulate the URI such that it is able to use a different URI for a different theme.


Constructor Summary
ThemeProvider.Aide()
           
 
Method Summary
static java.lang.String[] decodeURI(java.lang.String uri)
          Decodes the injected URI and returns a two-element array.
static java.lang.String injectURI(java.lang.String uri, java.lang.String fragment)
          Injects a fragment into the specified URI, and returns the injected URI.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThemeProvider.Aide

public ThemeProvider.Aide()
Method Detail

injectURI

public static java.lang.String injectURI(java.lang.String uri,
                                         java.lang.String fragment)
Injects a fragment into the specified URI, and returns the injected URI.

Parameters:
uri - the URI to be modified
fragment - the fragment that will be injected uri.

decodeURI

public static java.lang.String[] decodeURI(java.lang.String uri)
Decodes the injected URI and returns a two-element array. The first element is the original URI, while the second element is the fragment.

Notice that it returns null if no injection is found.



Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo