public interface Resource
修飾子とタイプ | メソッドと説明 |
---|---|
boolean |
exists()
Checks whether the resource exists.
|
InputStream |
getInputStream()
Gets the inputstream to the resource's data.
|
org.joda.time.DateTime |
getLastModifiedTime()
Gets the date and time the resource was last modified.
|
String |
getLocation()
Gets resource location information.
|
String getLocation()
boolean exists() throws ResourceException
ResourceException
- thrown if there is a problem determining if the resource existsInputStream getInputStream() throws ResourceException
ResourceException
- thrown if an input stream can not be created for the resourceorg.joda.time.DateTime getLastModifiedTime() throws ResourceException
ResourceException
- thrown if the last modified time can not be determinedCopyright © 2012. All Rights Reserved.