|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectthredds.crawlabledataset.filter.LastModifiedLimitFilter
public class LastModifiedLimitFilter
Accept datasets whose last modified date is at least the given number of milliseconds in the past.
| Constructor Summary | |
|---|---|
LastModifiedLimitFilter(long lastModifiedLimitInMillis)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
accept(CrawlableDataset dataset)
Accept datasets whose last modified date is at least the last modified limit of milliseconds in the past. |
Object |
getConfigObject()
Return the configuration object. |
long |
getLastModifiedLimitInMillis()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LastModifiedLimitFilter(long lastModifiedLimitInMillis)
lastModifiedLimitInMillis - accept datasets whose lastModified() time is at least this many msecs in the past| Method Detail |
|---|
public boolean accept(CrawlableDataset dataset)
accept in interface CrawlableDatasetFilterdataset - the dataset to filter
public Object getConfigObject()
CrawlableDatasetFilter
getConfigObject in interface CrawlableDatasetFilterpublic long getLastModifiedLimitInMillis()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||