Build 1.0_r1(from source)

android.pim
Class ICalendar.Property

java.lang.Object
  extended by android.pim.ICalendar.Property
Enclosing class:
ICalendar

public static class ICalendar.Property
extends Object

A property within an iCalendar component (e.g., DTSTART, DTEND, etc., within a VEVENT).


Field Summary
static String DTEND
           
static String DTSTART
           
static String DURATION
           
static String EXDATE
           
static String EXRULE
           
static String RDATE
           
static String RRULE
           
 
Constructor Summary
ICalendar.Property(String name)
          Creates a new property with the provided name.
ICalendar.Property(String name, String value)
          Creates a new property with the provided name and value.
 
Method Summary
 void addParameter(ICalendar.Parameter param)
          Adds a ICalendar.Parameter to this property.
 ICalendar.Parameter getFirstParameter(String name)
          Returns the first parameter with the specified name.
 String getName()
          Returns the name of the property.
 Set<String> getParameterNames()
          Returns the set of parameter names for this property.
 List<ICalendar.Parameter> getParameters(String name)
          Returns the list of parameters with the specified name.
 String getValue()
          Returns the value of this property.
 void setValue(String value)
          Sets the value of this property.
 String toString()
          Returns a string containing a concise, human-readable description of the receiver.
 void toString(StringBuilder sb)
          Helper method that appends this property to a StringBuilder.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DTSTART

public static final String DTSTART
See Also:
Constant Field Values

DTEND

public static final String DTEND
See Also:
Constant Field Values

DURATION

public static final String DURATION
See Also:
Constant Field Values

RRULE

public static final String RRULE
See Also:
Constant Field Values

RDATE

public static final String RDATE
See Also:
Constant Field Values

EXRULE

public static final String EXRULE
See Also:
Constant Field Values

EXDATE

public static final String EXDATE
See Also:
Constant Field Values
Constructor Detail

ICalendar.Property

public ICalendar.Property(String name)
Creates a new property with the provided name.

Parameters:
name - The name of the property.

ICalendar.Property

public ICalendar.Property(String name,
                          String value)
Creates a new property with the provided name and value.

Parameters:
name - The name of the property.
value - The value of the property.
Method Detail

getName

public String getName()
Returns the name of the property.

Returns:
The name of the property.

getValue

public String getValue()
Returns the value of this property.

Returns:
The value of this property.

setValue

public void setValue(String value)
Sets the value of this property.

Parameters:
value - The desired value for this property.

addParameter

public void addParameter(ICalendar.Parameter param)
Adds a ICalendar.Parameter to this property.

Parameters:
param - The parameter that should be added.

getParameterNames

public Set<String> getParameterNames()
Returns the set of parameter names for this property.

Returns:
The set of parameter names for this property.

getParameters

public List<ICalendar.Parameter> getParameters(String name)
Returns the list of parameters with the specified name. May return null if there are no such parameters.

Parameters:
name - The name of the parameters that should be returned.
Returns:
The list of parameters with the specified name.

getFirstParameter

public ICalendar.Parameter getFirstParameter(String name)
Returns the first parameter with the specified name. May return nll if there is no such parameter.

Parameters:
name - The name of the parameter that should be returned.
Returns:
The first parameter with the specified name.

toString

public String toString()
Description copied from class: Object
Returns a string containing a concise, human-readable description of the receiver.

Overrides:
toString in class Object
Returns:
String a printable representation for the receiver.

toString

public void toString(StringBuilder sb)
Helper method that appends this property to a StringBuilder. The caller is responsible for appending a newline after this property.


Build 1.0_r1(from source)

Please submit a feedback, bug or feature