net.fortuna.ical4j.util

Class Constants


public final class Constants
extends java.lang.Object

$Id: Constants.java,v 1.4 2008/12/16 12:34:53 fortuna Exp $ Created on 5/07/2005 Provides some convenience methods for working with constant parameters and properties.

Method Summary

static Property
forProperty(Property property)
Returns a constant equivalent to the specified property if one is applicable.

Method Details

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