|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.xsp.context.DojoLibrary
public abstract class DojoLibrary
Dojo Library. Encapsulate the content of a Dojo library.
| Constructor Summary | |
|---|---|
protected |
DojoLibrary()
|
| Method Summary | |
|---|---|
abstract boolean |
exists(java.lang.String path)
Check if a resource exists in the library. |
java.util.Map |
getCSSResources()
Get access to the Dojo CSS map. |
java.util.Map |
getDojoResources()
Get access to the Dojo JS modules map. |
abstract java.io.InputStream |
getFileInputStream(java.lang.String path)
Read a resource from the library. |
abstract java.lang.String |
getResourceUrl(java.lang.String url,
boolean optimize)
Encode the resource as a URL. |
abstract com.ibm.xsp.core.Version |
getVersion()
Return the actual version of the library. |
int |
getVersionNumber()
Shortcut: get the Version number from the version object. |
abstract java.lang.String |
getVersionTag()
Return the version of this library. |
abstract boolean |
hasIbmModules()
Check if the dojo library also contain the IBM modules. |
abstract boolean |
isDefaultIbmLibrary()
Check if the library is the default one for IBM classes. |
abstract boolean |
isDefaultLibrary()
Check if the library is the default one. |
abstract boolean |
useIbmLayers()
Check if the layers can be used. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected DojoLibrary()
| Method Detail |
|---|
public abstract boolean isDefaultLibrary()
public abstract boolean isDefaultIbmLibrary()
public abstract com.ibm.xsp.core.Version getVersion()
public final int getVersionNumber()
public abstract java.lang.String getVersionTag()
public abstract java.lang.String getResourceUrl(java.lang.String url,
boolean optimize)
url -
public abstract boolean exists(java.lang.String path)
public abstract java.io.InputStream getFileInputStream(java.lang.String path)
throws java.io.IOException
java.io.IOExceptionpublic abstract boolean hasIbmModules()
public abstract boolean useIbmLayers()
public java.util.Map getDojoResources()
public java.util.Map getCSSResources()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||