Package net.fortuna.ical4j.util
Class Constants
- java.lang.Object
-
- net.fortuna.ical4j.util.Constants
-
public final class Constants extends Object
$Id$ Created on 5/07/2005 Provides some convenience methods for working with constant parameters and properties.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Property
forProperty(Property property)
Returns a constant equivalent to the specified property if one is applicable.
-
-
-
Method Detail
-
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
- a property instance- Returns:
- an equivalent constant property, or the specified property if no equivalent constant exists
-
-