public final class RecordFilterUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static AnyMap |
filter(Filter filter,
AnyMap source,
DataFactory anyFactory)
Filter.
|
static Record |
filter(Filter filter,
Record record)
Filter.
|
static Filter |
findFilter(RecordFilters filters,
java.lang.String name)
Find filter.
|
static void |
marshall(RecordFilters recordFilters,
java.io.OutputStream outputStream)
Marshall.
|
static RecordFilters |
unmarshall(java.io.InputStream inputStream)
Unmarshall.
|
public static RecordFilters unmarshall(java.io.InputStream inputStream)
throws RecordFilterLoadSaveException
inputStream - the input streamRecordFilterLoadSaveException - the record filter load exceptionpublic static void marshall(RecordFilters recordFilters,
java.io.OutputStream outputStream)
throws RecordFilterLoadSaveException
recordFilters - the record filtersoutputStream - the output streamRecordFilterLoadSaveException - the record filter load save exceptionpublic static Filter findFilter(RecordFilters filters,
java.lang.String name)
throws RecordFilterNotFoundException
filters - the filtersname - the nameRecordFilterNotFoundException - the record filter not found exceptionpublic static Record filter(Filter filter, Record record)
filter - the record filterrecord - the recordpublic static AnyMap filter(Filter filter, AnyMap source, DataFactory anyFactory)
filter - the record filtersource - the Any object to be filteredanyFactory - the Any factory