net.fortuna.ical4j.util
Class Constants
java.lang.Object
net.fortuna.ical4j.util.Constants
- public final class Constants
- extends Object
Provides some convenience methods for working with constant
parameters and properties.
- Author:
- Ben Fortuna
Method Summary |
static Property |
forProperty(Property property)
Returns a constant equivalent to the specified property
if one is applicable. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
forProperty
public static Property forProperty(Property property)
- Returns a constant equivalent to the specified property
if one is applicable. Otherwise will return the specified
property.
- Parameters:
property
-
- Returns:
- a Property instance