|
||||||||||
| 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 input stream to the resource's data. |
long |
getLastModifiedTime()
Gets the time, in milliseconds since the epoch, when the resource was last modified. |
String |
getLocation()
Gets resource location information. |
| Methods inherited from interface net.shibboleth.utilities.java.support.component.DestructableComponent |
|---|
destroy, isDestroyed |
| Methods inherited from interface net.shibboleth.utilities.java.support.component.InitializableComponent |
|---|
initialize, isInitialized |
| Methods inherited from interface net.shibboleth.utilities.java.support.component.ValidatableComponent |
|---|
validate |
| Method Detail |
|---|
@Nonnull String getLocation()
boolean exists()
throws ResourceException
ResourceException - thrown if there is a problem determining if the resource exists
@Nonnull
InputStream getInputStream()
throws ResourceException
ResourceException - thrown if an input stream can not be created for the resource
long 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 | |||||||||