|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.LatestURL.URLTime
protected static class LatestURL.URLTime
A class that enhances an url for the modification time. Used as return
type from LatestURL.getYoungest(java.util.Collection.
| Field Summary | |
|---|---|
private long |
modified
The modification time of the url above or zero for unknown. |
private URL |
url
The url. |
| Constructor Summary | |
|---|---|
protected |
LatestURL.URLTime(URL ref,
long time)
Constructs a new url plus time object from the url and the time. |
| Method Summary | |
|---|---|
long |
getModified()
Returns the modification time. |
URL |
getURL()
Returns the url. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private URL url
private long modified
| Constructor Detail |
|---|
protected LatestURL.URLTime(URL ref,
long time)
| Method Detail |
|---|
public URL getURL()
public long getModified()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||