@Deprecated public class TextFileFilter extends Object implements Cloneable
Constructor and Description |
---|
TextFileFilter()
Deprecated.
|
TextFileFilter(int filterPosition,
String filterString,
boolean filterLastLine,
boolean filterPositive)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Deprecated.
|
int |
getFilterPosition()
Deprecated.
|
String |
getFilterString()
Deprecated.
|
boolean |
isFilterLastLine()
Deprecated.
|
boolean |
isFilterPositive()
Deprecated.
|
void |
setFilterLastLine(boolean filterLastLine)
Deprecated.
|
void |
setFilterPosition(int filterPosition)
Deprecated.
|
void |
setFilterPositive(boolean filterPositive)
Deprecated.
|
void |
setFilterString(String filterString)
Deprecated.
|
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.Copyright © 2019 Hitachi Vantara. All rights reserved.