public class TzUrl extends Property
4.8.3.5 Time Zone URL Property Name: TZURL Purpose: The TZURL provides a means for a VTIMEZONE component to point to a network location that can be used to retrieve an up-to- date version of itself. Value Type: URI Property Parameters: Non-standard property parameters can be specified on this property. Conformance: This property can be specified in a "VTIMEZONE" calendar component. Description: The TZURL provides a means for a VTIMEZONE component to point to a network location that can be used to retrieve an up-to- date version of itself. This provides a hook to handle changes government bodies impose upon time zone definitions. Retrieval of this resource results in an iCalendar object containing a single VTIMEZONE component and a METHOD property set to PUBLISH. Format Definition: The property is defined by the following notation: tzurl = "TZURL" tzurlparam ":" uri CRLF tzurlparam = *(";" xparam) Example: The following is an example of this property: TZURL:http://timezones.r.us.net/tz/US-California-Los_Angeles
isCalendarProperty
ACTION, ATTACH, ATTENDEE, BUSYTYPE, CALSCALE, CATEGORIES, CLASS, COMMENT, COMPLETED, CONTACT, COUNTRY, CREATED, DESCRIPTION, DTEND, DTSTAMP, DTSTART, DUE, DURATION, EXDATE, EXPERIMENTAL_PREFIX, EXRULE, EXTENDED_ADDRESS, FREEBUSY, GEO, LAST_MODIFIED, LOCALITY, LOCATION, LOCATION_TYPE, METHOD, NAME, ORGANIZER, PERCENT_COMPLETE, POSTALCODE, PRIORITY, PRODID, RDATE, RECURRENCE_ID, REGION, RELATED_TO, REPEAT, REQUEST_STATUS, RESOURCES, RRULE, SEQUENCE, STATUS, STREET_ADDRESS, SUMMARY, TEL, TRANSP, TRIGGER, TZID, TZNAME, TZOFFSETFROM, TZOFFSETTO, TZURL, UID, URL, VERSION
Constructor and Description |
---|
TzUrl()
Default constructor.
|
TzUrl(ParameterList aList,
java.lang.String aValue) |
TzUrl(ParameterList aList,
java.net.URI aUri) |
TzUrl(java.net.URI aUri) |
Modifier and Type | Method and Description |
---|---|
java.net.URI |
getUri() |
java.lang.String |
getValue() |
void |
setUri(java.net.URI uri) |
void |
setValue(java.lang.String aValue)
Sets the current value of the property.
|
void |
validate()
Perform validation on a property.
|
copy, equals, getName, getParameter, getParameters, getParameters, hashCode, isCalendarProperty, toString
public TzUrl()
public TzUrl(ParameterList aList, java.lang.String aValue) throws java.net.URISyntaxException
aList
- a list of parameters for this componentaValue
- a value string for this componentjava.net.URISyntaxException
- where the specified value string is not a valid uripublic TzUrl(java.net.URI aUri)
aUri
- a URIpublic TzUrl(ParameterList aList, java.net.URI aUri)
aList
- a list of parameters for this componentaUri
- a URIpublic final java.net.URI getUri()
public final void setValue(java.lang.String aValue) throws java.net.URISyntaxException
public final java.lang.String getValue()
public final void setUri(java.net.URI uri)
uri
- The uri to set.public final void validate() throws ValidationException
validate
in class Property
ValidationException
- where the property is not in a valid state