Top Description Constructors Methods
net.fortuna.ical4j.util

public final Class Constants

extends Object
Class Inheritance
Imports
net.fortuna.ical4j.model.Property

$Id$ Created on 5/07/2005 Provides some convenience methods for working with constant parameters and properties.
Author
Ben Fortuna

Constructor Summary

AccessConstructor and Description
private
Constants()

Constructor made private to enforce static nature.

Method Summary

Modifier and TypeMethod and Description
public static Property

Returns:

an equivalent constant property, or the specified property if no equivalent constant exists
forProperty
(final Property
a property instance
property
)

Returns a constant equivalent to the specified property if one is applicable.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Constantsback to summary
private Constants()

Constructor made private to enforce static nature.

Method Detail

forPropertyback to summary
public static Property forProperty(final Property property)

Returns a constant equivalent to the specified property if one is applicable. Otherwise will return the specified property.

Parameters
property:Property

a property instance

Returns:Property

an equivalent constant property, or the specified property if no equivalent constant exists