opendap.crawler
Class DateClassification

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

public class DateClassification
extends java.lang.Object

This class holds the 'rules' for recognizing dates in the patterns formed by the URL parse. The sole public method, classifyPotentialDate() takes an Equivalence object, looks at the values associated with the pattern and may add one or more DatePart values to the Equivalence object's date classification information.

Author:
jimg

Nested Class Summary
static class DateClassification.DatePart
          Provide names for the kinds of dates an Equivalence can hold
 
Constructor Summary
DateClassification()
           
 
Method Summary
static void classifyPotentialDate(Equivalence e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateClassification

public DateClassification()
Method Detail

classifyPotentialDate

public static void classifyPotentialDate(Equivalence e)