public static final class FilterPaf.ScriptFilter extends Object implements FilterPaf.Filter
| Constructor and Description |
|---|
ScriptFilter(String script)
Create a new script filter with the specified script.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(PafRecord record)
Return true if the specified PAF record should be accepted by this filter.
|
public ScriptFilter(String script)
script - scriptpublic boolean accept(PafRecord record)
FilterPaf.Filteraccept in interface FilterPaf.Filterrecord - PAF recordCopyright (c) 2013-2023 held jointly by the individual authors. Licensed under the GNU Lesser General Public License (LGPL).