net.fortuna.ical4j.util
public final class ComponentValidator extends Object
Modifier and Type | Method and Description |
---|---|
static void |
assertNone(String componentName,
ComponentList components) |
static void |
assertOneOrLess(String componentName,
ComponentList components) |
public static void assertNone(String componentName, ComponentList components) throws ValidationException
componentName
- a component name used in the assertioncomponents
- a list of componentsValidationException
- where the assertion failspublic static void assertOneOrLess(String componentName, ComponentList components) throws ValidationException
componentName
- a component name used in the assertioncomponents
- a list of componentsValidationException
- where the assertion failsCopyright © 2004-2013 Micronode. All Rights Reserved.