public class WebappResourceRef extends Object implements IResourceRef, IModifyableResource
| Constructor and Description |
|---|
WebappResourceRef(File resource) |
| 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()
Return the current last modification time.
|
String |
toString() |
public boolean exists()
IResourceRefexists in interface IResourceRefpublic long getLastModified()
IModifyableResourcegetLastModified in interface IModifyableResource@Nonnull public InputStream getInputStream() throws Exception
IResourceRefgetInputStream in interface IResourceRefExceptionCopyright © 2017 etc.to. All rights reserved.