|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectopendap.crawler.URLGroup
public class URLGroup
A URLGroup is a set of URLs each with the same number of components where each corresponding component of all the URLs either matches literally or is a member of an equivalence class. Since the number of components match, we can keep track of the variable in values for those components that fall into an equivalence class. Once all the URLs have been processed, the histograms built for for those equivalence classes can be used to alter the grouping.
Nested Class Summary | |
---|---|
class |
URLGroup.Equivalences
An Enumeration of the equivalence classes that help define this group. |
class |
URLGroup.URLs
|
Constructor Summary | |
---|---|
URLGroup(ParsedURL url,
URLProcessedComponents pc)
Build a new URLGroup and initialize it with a single URL. |
Method Summary | |
---|---|
void |
add(ParsedURL url)
|
URLProcessedComponents |
getClassifications()
|
Equivalence |
getDateEquivalence()
Search for the Equivalence that has the largest number of DatePart instances and return it. |
URLGroup.Equivalences |
getEquivalences()
Use this to access the Equivalences that help define this group. |
int |
getNumberOfUrls()
How many URLs are in this group? |
URLGroup.URLs |
getURLs()
Get an instance of the Iteration over the URLs in this group. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public URLGroup(ParsedURL url, URLProcessedComponents pc)
url
- The parsed URLpc
- Classifications for the parsed components
java.lang.Exception
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public URLGroup.URLs getURLs()
public int getNumberOfUrls()
public URLGroup.Equivalences getEquivalences()
public void add(ParsedURL url)
public Equivalence getDateEquivalence()
public URLProcessedComponents getClassifications()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |