|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectto.etc.domui.util.resources.WebappResourceRef
public class WebappResourceRef
A full reference to a web app file (a file somewhere in the webapp's web files or WEB-INF directorty).
Constructor Summary | |
---|---|
WebappResourceRef(java.io.File resource)
|
Method Summary | |
---|---|
boolean |
exists()
Return T if this resource actually exists. |
java.io.InputStream |
getInputStream()
Returns the input stream for the resource. |
long |
getLastModified()
Return the current last modification time. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WebappResourceRef(@Nonnull java.io.File resource)
Method Detail |
---|
public boolean exists()
IResourceRef
exists
in interface IResourceRef
public long getLastModified()
IModifyableResource
getLastModified
in interface IModifyableResource
@Nonnull public java.io.InputStream getInputStream() throws java.lang.Exception
IResourceRef
getInputStream
in interface IResourceRef
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |