|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Represents a resource in an Ivy Repository.
The resource interface allows one to obtain the following information about a resource:
false, 0, ""). In other words, the specified interface
methods should not throw RuntimeExceptions.
Message.verbose(java.lang.String) method.
false, 0, "").
| Method Summary | |
boolean |
exists()
Determine if the resource is available. |
long |
getContentLength()
Get the resource size |
long |
getLastModified()
Get the date the resource was last modified |
java.lang.String |
getName()
Get the name of the resource. |
| Method Detail |
public java.lang.String getName()
public long getLastModified()
long value representing the time the file was
last modified, measured in milliseconds since the epoch
(00:00:00 GMT, January 1, 1970), or 0L if the
file does not exist or if an I/O error occurs.public long getContentLength()
long value representing the size of the resource in bytes.public boolean exists()
boolean value indicating if the resource is available.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||