public abstract class AbstractListFilter extends java.lang.Object implements PacketFilter
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<PacketFilter> |
filters
The list of filters.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractListFilter()
Creates an empty filter.
|
protected |
AbstractListFilter(PacketFilter... filters)
Creates an filter using the specified filters.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addFilter(PacketFilter filter)
Adds a filter to the filter list.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitacceptprotected final java.util.List<PacketFilter> filters
protected AbstractListFilter()
protected AbstractListFilter(PacketFilter... filters)
filters - the filters to add.public void addFilter(PacketFilter filter)
filter - a filter to add to the filter list.public final java.lang.String toString()
toString in class java.lang.Object