|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectto.etc.domui.util.resources.ProductionClassResourceRef
public class ProductionClassResourceRef
Classpath resource for PRODUCTION (non-debug) mode. This refers to a .classpath reference and is initialized only once.
Constructor Summary | |
---|---|
ProductionClassResourceRef(java.lang.String rootpath)
|
Method Summary | |
---|---|
boolean |
exists()
Return T if this resource actually exists. |
java.io.InputStream |
getInputStream()
Returns the input stream for the resource. |
long |
getLastModified()
This one only returns existence: it returns -1 if the resource does not exist and 1 if it does. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ProductionClassResourceRef(java.lang.String rootpath)
Method Detail |
---|
public boolean exists()
IResourceRef
exists
in interface IResourceRef
public java.io.InputStream getInputStream() throws java.lang.Exception
IResourceRef
getInputStream
in interface IResourceRef
java.lang.Exception
public long getLastModified()
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 |