|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Resource
An interface representing an data resource.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
String getLocation()
boolean exists()
throws ResourceException
ResourceException - thrown if there is a problem determining if the resource exists
InputStream getInputStream()
throws ResourceException
ResourceException - thrown if an input stream can not be created for the resource
org.joda.time.DateTime getLastModifiedTime()
throws ResourceException
ResourceException - thrown if the last modified time can not be determined
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||