|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbass.crawler.CountryDistribution
public class CountryDistribution
Necessary, since mySpace.com blocked the empty search and we have to crawl the search pages of every country now.
| Field Summary | |
|---|---|
private java.lang.String[] |
countries
|
private int |
countryIndex
|
| Constructor Summary | |
|---|---|
CountryDistribution()
generates a new CountryDistribution with all countries |
|
CountryDistribution(java.lang.String[] countrycodes)
generates a new CountryDistribution with the specified countries |
|
| Method Summary | |
|---|---|
java.lang.String |
getNextCountryCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private int countryIndex
private java.lang.String[] countries
| Constructor Detail |
|---|
public CountryDistribution()
CountryDistribution with all countries
public CountryDistribution(java.lang.String[] countrycodes)
CountryDistribution with the specified countries
countrycodes - the country codes to use| Method Detail |
|---|
public java.lang.String getNextCountryCode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||