iCalendar components.
The following example prints all events where the event's categories contain the the word "Holiday".
Predicatefilter = new ComponentFilter().predicate(FilterExpression.contains(Property.CATEGORIES, "Holiday")); calendar.getComponents(Component.VEVENT).stream() .filter(filter) .forEach(System.out::println);
| Access | Constructor and Description |
|---|---|
| public | |
| public | ComponentFilter(Supplier<List<PropertyFactory<?>>> propertyFactorySupplier, Supplier<List<ParameterFactory<?>>> parameterFactorySupplier)
|
| Modifier and Type | Method and Description |
|---|---|
| public Predicate | predicate(UnaryExpression expression)
Implements net.
|
| public Predicate | predicate(BinaryExpression expression)
Implements net.
|
| ComponentFilter | back to summary |
|---|---|
| public ComponentFilter() | |
| ComponentFilter | back to summary |
|---|---|
| public ComponentFilter(Supplier<List<PropertyFactory<?>>> propertyFactorySupplier, Supplier<List<ParameterFactory<?>>> parameterFactorySupplier) | |
| predicate | back to summary |
|---|---|
| public Predicate Implements net. | |
| predicate | back to summary |
|---|---|
| public Predicate Implements net. | |