stella.sql
Class TargetConsistency.URLInfo

java.lang.Object
  extended by stella.sql.TargetConsistency.URLInfo
Enclosing class:
TargetConsistency

private static class TargetConsistency.URLInfo
extends Object

Retrieves and stores info from an URL


Field Summary
private  long modified
          Date of change.
private  int size
          Size of content.
private  URL valid
          The url or null if not connectable.
 
Constructor Summary
private TargetConsistency.URLInfo(URL url)
          Constructs a new URLInfo and retrieves info.
 
Method Summary
private  long getModified()
          Returns the modification date or -1 if invalid.
private  int getSize()
          Returns the size or -1 if invalid.
private  URL getURL()
          Returns the valid url, i.e.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

valid

private URL valid
The url or null if not connectable.


modified

private long modified
Date of change.


size

private int size
Size of content.

Constructor Detail

TargetConsistency.URLInfo

private TargetConsistency.URLInfo(URL url)
Constructs a new URLInfo and retrieves info.

Method Detail

getModified

private long getModified()
Returns the modification date or -1 if invalid.


getSize

private int getSize()
Returns the size or -1 if invalid.


getURL

private URL getURL()
Returns the valid url, i.e. an URL that can be read from or zero.