|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectto.etc.domui.util.resources.ReloadingClassResourceRef
public class ReloadingClassResourceRef
This is a resource reference to something on the classpath used only in debug mode. This version allows reloading of classpath resources when they change while the server is running.
Constructor Summary | |
---|---|
ReloadingClassResourceRef(IModifyableResource mr,
java.lang.String name)
Create a root-based class resource ref. |
Method Summary | |
---|---|
boolean |
exists()
Return T if this resource actually exists. |
java.io.InputStream |
getInputStream()
This is a funny one.... |
long |
getLastModified()
Return the current last modification time. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ReloadingClassResourceRef(IModifyableResource mr, java.lang.String name)
mr
- name
- Method Detail |
---|
public java.io.InputStream getInputStream() throws java.lang.Exception
getInputStream
in interface IResourceRef
java.lang.Exception
public boolean exists()
IResourceRef
exists
in interface IResourceRef
public long getLastModified()
IModifyableResource
getLastModified
in interface IModifyableResource
IModifyableResource.getLastModified()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |