public class ProductionClassResourceRef extends Object implements IResourceRef, IModifyableResource
| Constructor and Description |
|---|
ProductionClassResourceRef(String rootpath) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
exists()
Return T if this resource actually exists.
|
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.
|
String |
toString() |
public ProductionClassResourceRef(String rootpath)
public boolean exists()
IResourceRefexists in interface IResourceRefpublic InputStream getInputStream() throws Exception
IResourceRefgetInputStream in interface IResourceRefExceptionpublic long getLastModified()
getLastModified in interface IModifyableResourceIModifyableResource.getLastModified()Copyright © 2017 etc.to. All rights reserved.