|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xwt.js.JS org.xwt.Res org.xwt.Res.Ref
what you get when you reference a subresource
Nested Class Summary |
Nested classes inherited from class org.xwt.Res |
Res.Builtin, Res.ByteArray, Res.Cab, Res.CachedRes, Res.File, Res.Graft, Res.HTTP, Res.ProgressWatcher, Res.Ref, Res.Zip |
Nested classes inherited from class org.xwt.js.JS |
JS.Array, JS.Callable, JS.Context, JS.Exn, JS.GlobalScope, JS.Obj, JS.Scope, JS.TailCall |
Field Summary |
Fields inherited from class org.xwt.Res |
t |
Method Summary | |
Res |
addExtension(java.lang.String extension)
if the path of this resource does not end with extension, return a new one wit it appended |
java.lang.String |
getDescriptiveName()
|
java.io.InputStream |
getInputStream(java.lang.String path)
|
Res |
getParent()
|
Res |
graft(java.lang.Object newResource)
graft newResource in place of this resource on its parent |
Methods inherited from class org.xwt.Res |
callMethod, get, getInputStream, keys, put, stringToRes, typeName, writeTo |
Methods inherited from class org.xwt.js.JS |
coerceToBoolean, coerceToNumber, coerceToString, parse, toBoolean, toDouble, toInt, toLong, toNumber, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public java.lang.String getDescriptiveName()
getDescriptiveName
in class Res
public Res addExtension(java.lang.String extension)
Res
addExtension
in class Res
public java.io.InputStream getInputStream(java.lang.String path) throws java.io.IOException
getInputStream
in class Res
java.io.IOException
public Res getParent()
getParent
in class Res
public Res graft(java.lang.Object newResource)
Res
graft
in class Res
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |