opendap.crawler
Class URLGroupFacts

java.lang.Object
  extended by opendap.crawler.URLGroupFacts

public class URLGroupFacts
extends java.lang.Object


Constructor Summary
URLGroupFacts(java.lang.String firstDDXURL, java.lang.String firstDDXDoc)
           
 
Method Summary
 java.lang.String getDatasetRoot()
          The pathname relative to the OPeNDAP server's root directory to the start of the directory tree that holds this dataset.
 java.lang.String getFirstDate()
           
 java.lang.String getFirstDDXDoc()
           
 java.lang.String getFirstDDXURL()
           
 boolean getIsDatasetRootUnique()
           
 boolean getIsMultiFile()
           
 boolean getIsTimeSeries()
           
 java.lang.String getLastDate()
           
 int getServerRootPosition()
          The position in the URL where the 'mechanics' end and the pathnames start.
 void setDatasetRoot(java.lang.String dsr)
           
 void setFirstDate(java.lang.String fd)
           
 void setIsDatasetRootUnique(boolean v)
           
 void setIsMultiFile(boolean imf)
           
 void setIsTimeSeries(boolean its)
           
 void setLastDate(java.lang.String ld)
           
 void setServerRootPosition(int sr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URLGroupFacts

public URLGroupFacts(java.lang.String firstDDXURL,
                     java.lang.String firstDDXDoc)
Method Detail

getFirstDDXURL

public java.lang.String getFirstDDXURL()

getFirstDDXDoc

public java.lang.String getFirstDDXDoc()

getIsDatasetRootUnique

public boolean getIsDatasetRootUnique()

setIsDatasetRootUnique

public void setIsDatasetRootUnique(boolean v)

getFirstDate

public java.lang.String getFirstDate()
                              throws java.lang.Exception
Throws:
java.lang.Exception

setFirstDate

public void setFirstDate(java.lang.String fd)

getLastDate

public java.lang.String getLastDate()
                             throws java.lang.Exception
Throws:
java.lang.Exception

setLastDate

public void setLastDate(java.lang.String ld)

getIsMultiFile

public boolean getIsMultiFile()

setIsMultiFile

public void setIsMultiFile(boolean imf)

getDatasetRoot

public java.lang.String getDatasetRoot()
                                throws java.lang.Exception
The pathname relative to the OPeNDAP server's root directory to the start of the directory tree that holds this dataset.

Returns:
The pathname
Throws:
java.lang.Exception

setDatasetRoot

public void setDatasetRoot(java.lang.String dsr)

getServerRootPosition

public int getServerRootPosition()
                          throws java.lang.Exception
The position in the URL where the 'mechanics' end and the pathnames start. In a URL like http://machine/servlet/data, this value is the location of 'd' in 'data'. This value is useful in extracting pathnames from a collection of URLs and storing it here saves having to recompute it thousands of times.

Returns:
Throws:
java.lang.Exception

setServerRootPosition

public void setServerRootPosition(int sr)

getIsTimeSeries

public boolean getIsTimeSeries()

setIsTimeSeries

public void setIsTimeSeries(boolean its)