public interface Resource
Modifier and Type | Method and Description |
---|---|
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 © 2018 JBoss by Red Hat. All rights reserved.