org.apache.maven.wagon.resource
public class Resource extends Object
Version: $Id: Resource.java 312572 2005-10-10 07:17:58Z brett $
Field Summary | |
---|---|
long | contentLength |
long | lastModified |
String | name |
Constructor Summary | |
---|---|
Resource() | |
Resource(String name) |
Method Summary | |
---|---|
long | getContentLength() |
long | getLastModified()
Returns the value of the last-modified header field.
|
String | getName() |
void | setContentLength(long contentLength) |
void | setLastModified(long lastModified) |
void | setName(String name) |
String | toString() |
Returns: the date the resource was last modified, or WagonConstants.UNKNOWN_LENGTH if not known.