Constructor and Description |
---|
TextFileFilter() |
TextFileFilter(int filterPosition,
String filterString,
boolean filterLastLine,
boolean filterPositive) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
int |
getFilterPosition() |
String |
getFilterString() |
boolean |
isFilterLastLine() |
boolean |
isFilterPositive() |
void |
setFilterLastLine(boolean filterLastLine) |
void |
setFilterPosition(int filterPosition) |
void |
setFilterPositive(boolean filterPositive) |
void |
setFilterString(String filterString) |
public TextFileFilter(int filterPosition, String filterString, boolean filterLastLine, boolean filterPositive)
filterPosition
- The position of the occurrence of the filter string to check atfilterString
- The string to filter onfilterLastLine
- True if we want to stop when we reach a filter string on the specified position False if you just want to
skip the line.filterPositive
- True if we want to get only lines that match this stringpublic TextFileFilter()
public boolean isFilterLastLine()
public void setFilterLastLine(boolean filterLastLine)
filterLastLine
- The filterLastLine to set.public boolean isFilterPositive()
public void setFilterPositive(boolean filterPositive)
filterPositive
- The filterPositive to set.public int getFilterPosition()
public void setFilterPosition(int filterPosition)
filterPosition
- The filterPosition to set.public String getFilterString()
public void setFilterString(String filterString)
filterString
- The filterString to set.