org.zkoss.zk.ui
Class WebApps

java.lang.Object
  extended by org.zkoss.zk.ui.WebApps

public class WebApps
extends java.lang.Object

Utilities related to the whole Web application.

Since:
3.0.7
Author:
tomyeh

Constructor Summary
WebApps()
           
 
Method Summary
static boolean getFeature(java.lang.String feature)
          Returns whether the specified feature is supported.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebApps

public WebApps()
Method Detail

getFeature

public static boolean getFeature(java.lang.String feature)
Returns whether the specified feature is supported.

Parameters:
feature - which feature to check. Supported features:
professional
Whether it is the professional edition, i.e., whether zkex.jar (and others) are installed.
enterprise
Whether it is the enterprise edition, i.e., whether zkmax.jar (and others) are installed. Note: the enterperise edition implies "professional". In other words, if getFeature("enterprise") is true, getFeature("professional") must be true.
Since:
3.0.7


Copyright © 2005-2009 Potix Corporation. All Rights Reserved.