org.zkoss.zk.ui.http
Class FileWcsExtendlet
java.lang.Object
org.zkoss.zk.ui.http.WcsExtendlet
org.zkoss.zk.ui.http.FileWcsExtendlet
- All Implemented Interfaces:
- Extendlet
public class FileWcsExtendlet
- extends WcsExtendlet
Used by ZK Lighter to generate the CSS content of a WCS file.
Unlike WcsExtendlet
, it is based on the file system.
- Since:
- 5.0.0
- Author:
- tomyeh
Method Summary |
boolean |
getFeature(int feature)
Returns if the specified feature is supported. |
boolean |
isDebugJS()
Returns whether to generate JS files that is easy to debug. |
java.lang.String |
service(java.io.File fl,
FileWcsExtendlet.Includer includer)
Parses and return the content of the specified WCS file. |
void |
setDebugJS(boolean debugJS)
Sets whether to generate JS files that is easy to debug. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileWcsExtendlet
public FileWcsExtendlet()
service
public java.lang.String service(java.io.File fl,
FileWcsExtendlet.Includer includer)
throws java.lang.Exception
- Parses and return the content of the specified WCS file.
- Throws:
java.lang.Exception
setDebugJS
public void setDebugJS(boolean debugJS)
- Sets whether to generate JS files that is easy to debug.
isDebugJS
public boolean isDebugJS()
- Returns whether to generate JS files that is easy to debug.
getFeature
public boolean getFeature(int feature)
- Description copied from interface:
Extendlet
- Returns if the specified feature is supported.
- Specified by:
getFeature
in interface Extendlet
Copyright © 2005-2009 Potix Corporation. All Rights Reserved.