|
Eclipse Rich Ajax Platform Release 1.3 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Implementations of this interface represent an existing resource - local or external.
Method Summary | |
String |
getCharset()
Specifies the charset to use for this resource. |
ClassLoader |
getLoader()
Specifies the classloader that has access to the resource that should be loaded. |
String |
getLocation()
Returns the location of the resource. |
IResourceManager.RegisterOptions |
getOptions()
Specifies in which way the resource is delivered. |
boolean |
isExternal()
Decides whether the resource is external or not. |
boolean |
isJSLibrary()
Decides whether the resource is a javascript library and thus handled a bit different than other resources. |
Method Detail |
public ClassLoader getLoader()
ClassLoader getLoader() {
return this.getClass().getClassLoader();
}
public String getLocation()
isExternal()
public String getCharset()
public IResourceManager.RegisterOptions getOptions()
RegisterOptions#NONE
. If you want RAP to compress the file
use RegisterOptions#COMPRESS
and to version it use
RegisterOptions#VERSION
.
If you want to combine versioning and compression you can return
RegisterOptions#VERSION_AND_COMPRESS
as value.
RegisterOptions
IResourceManager.RegisterOptions
public boolean isJSLibrary()
IResourceManager.RegisterOptions
,
isExternal()
,
getOptions()
public boolean isExternal()
|
Eclipse Rich Ajax Platform Release 1.3 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) Innoopract Informationssysteme GmbH and others 2002, 2011. All rights reserved.