public abstract class DateFilter extends Object
Modifier and Type | Field and Description |
---|---|
protected Date |
endDate |
protected Date |
startDate |
Constructor and Description |
---|
DateFilter() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
compareLogDate(Date logDate,
String filename)
Check if the Date from the filename matches the start and end Dates
|
String |
getEndDateString(String format) |
String |
getStartDateString(String format) |
abstract boolean |
match(String filename) |
void |
setEndDate(String dateStr) |
abstract void |
setPattern(String pattern) |
void |
setStartDate(String dateStr) |
abstract void |
unsetAll() |
public void setStartDate(String dateStr)
public void setEndDate(String dateStr)
public abstract void setPattern(String pattern)
public abstract boolean match(String filename) throws ReportManagerException, ParseException
ReportManagerException
ParseException
public abstract void unsetAll()
protected boolean compareLogDate(Date logDate, String filename)
logDate
- A Date
object that represents the date of the
log file in question.filename
- The name of the log file.Copyright © 2010–2017 Planetary Data System. All rights reserved.