public class ByLabelFilter extends AbstractStreamFilter
Modifier and Type | Class and Description |
---|---|
static class |
ByLabelFilter.Parameterizer
Parameterization class.
|
BundleStreamSource.Event
Modifier and Type | Field and Description |
---|---|
private boolean |
inverted
Inversion flag
|
private int |
lblcol
Label column
|
private static Logging |
logger
Class logger
|
private Pattern |
pattern
The filter pattern
|
source
Constructor and Description |
---|
ByLabelFilter(Pattern pattern,
boolean inverted)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
data(int rnum)
Access a particular object and representation.
|
BundleMeta |
getMeta()
Get the current meta data.
|
BundleStreamSource.Event |
nextEvent()
Get the next event
|
filter, init
private static final Logging logger
private final Pattern pattern
private final boolean inverted
private int lblcol
public ByLabelFilter(Pattern pattern, boolean inverted)
pattern
- Filter patterninverted
- Inversion flagpublic BundleMeta getMeta()
BundleStreamSource
public Object data(int rnum)
BundleStreamSource
rnum
- Representation numberpublic BundleStreamSource.Event nextEvent()
BundleStreamSource