本文整理了Java中net.fortuna.ical4j.model.property.Url
类的一些代码示例,展示了Url
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Url
类的具体详情如下:
包路径:net.fortuna.ical4j.model.property.Url
类名称:Url
[英]$Id$
Created: [Apr 6, 2004]
Defines a URL iCalendar component property.
4.8.4.6 Uniform Resource Locator
Property Name: URL
Purpose: This property defines a Uniform Resource Locator (URL)
associated with the iCalendar object.
Value Type: URI
Property Parameters: Non-standard property parameters can be
specified on this property.
Conformance: This property can be specified once in the "VEVENT",
"VTODO", "VJOURNAL" or "VFREEBUSY" calendar components.
Description: This property may be used in a calendar component to
convey a location where a more dynamic rendition of the calendar
information associated with the calendar component can be found. This
memo does not attempt to standardize the form of the URI, nor the
format of the resource pointed to by the property value. If the URL
property and Content-Location MIME header are both specified, they
MUST point to the same resource.
Format Definition: The property is defined by the following notation:
url = "URL" urlparam ":" uri CRLF
urlparam = *(";" xparam)
Example: The following is an example of this property:
URL:http://abc.com/pub/calendars/jsmith/mytime.ics
[中]$Id$
创建日期:[2004年4月6日]
定义URL iCalendar组件属性。
4.8.4.6 Uniform Resource Locator
Property Name: URL
Purpose: This property defines a Uniform Resource Locator (URL)
associated with the iCalendar object.
Value Type: URI
Property Parameters: Non-standard property parameters can be
specified on this property.
Conformance: This property can be specified once in the "VEVENT",
"VTODO", "VJOURNAL" or "VFREEBUSY" calendar components.
Description: This property may be used in a calendar component to
convey a location where a more dynamic rendition of the calendar
information associated with the calendar component can be found. This
memo does not attempt to standardize the form of the URI, nor the
format of the resource pointed to by the property value. If the URL
property and Content-Location MIME header are both specified, they
MUST point to the same resource.
Format Definition: The property is defined by the following notation:
url = "URL" urlparam ":" uri CRLF
urlparam = *(";" xparam)
Example: The following is an example of this property:
URL:http://abc.com/pub/calendars/jsmith/mytime.ics
代码示例来源:origin: net.oneandone.ical4j/ical4j
public Property createProperty(final ParameterList parameters, final String value)
throws IOException, URISyntaxException, ParseException {
return new Url(parameters, value);
}
代码示例来源:origin: org.sakaiproject.calendaring/external-calendaring-service-impl
if(StringUtils.isNotBlank(event.getField("vevent_url"))) {
url = event.getField("vevent_url");
Url u = new Url();
try {
u.setValue(url);
vevent.getProperties().add(u);
} catch (URISyntaxException e) {
代码示例来源:origin: org.bedework.ical4j/ical4j
/**
* @param aList a list of parameters for this component
* @param aValue a value string for this component
* @throws URISyntaxException where the specified value string is not a valid uri
*/
public Url(final ParameterList aList, final String aValue)
throws URISyntaxException {
super(URL, aList, PropertyFactoryImpl.getInstance());
setValue(aValue);
}
代码示例来源:origin: ical4j/ical4j
/**
* {@inheritDoc}
*/
public final String getValue() {
return Uris.decode(Strings.valueOf(getUri()));
}
代码示例来源:origin: net.oneandone.ical4j/ical4j
/**
* @param aList a list of parameters for this component
* @param aValue a value string for this component
* @throws URISyntaxException where the specified value string is not a valid uri
*/
public Url(final ParameterList aList, final String aValue)
throws URISyntaxException {
super(URL, aList, PropertyFactoryImpl.getInstance());
setValue(aValue);
}
代码示例来源:origin: org.mnode.ical4j/ical4j
/**
* {@inheritDoc}
*/
public final String getValue() {
return Uris.decode(Strings.valueOf(getUri()));
}
代码示例来源:origin: ical4j/ical4j
public Property createProperty() {
return new Url();
}
}
代码示例来源:origin: ical4j/ical4j
/**
* @param aList a list of parameters for this component
* @param aValue a value string for this component
* @throws URISyntaxException where the specified value string is not a valid uri
*/
public Url(final ParameterList aList, final String aValue)
throws URISyntaxException {
super(URL, aList, new Factory());
setValue(aValue);
}
代码示例来源:origin: org.bedework.ical4j/ical4j
/**
* {@inheritDoc}
*/
public final String getValue() {
return Uris.decode(Strings.valueOf(getUri()));
}
代码示例来源:origin: ical4j/ical4j
public Property createProperty(final ParameterList parameters, final String value)
throws IOException, URISyntaxException, ParseException {
return new Url(parameters, value);
}
代码示例来源:origin: org.mnode.ical4j/ical4j
/**
* @param aList a list of parameters for this component
* @param aValue a value string for this component
* @throws URISyntaxException where the specified value string is not a valid uri
*/
public Url(final ParameterList aList, final String aValue)
throws URISyntaxException {
super(URL, aList, new Factory());
setValue(aValue);
}
代码示例来源:origin: org.bedework/bw-ical4j-cl
/**
* {@inheritDoc}
*/
public final String getValue() {
return Uris.decode(Strings.valueOf(getUri()));
}
代码示例来源:origin: org.mnode.ical4j/ical4j
public Property createProperty() {
return new Url();
}
}
代码示例来源:origin: org.bedework/bw-ical4j-cl
/**
* @param aList a list of parameters for this component
* @param aValue a value string for this component
* @throws URISyntaxException where the specified value string is not a valid uri
*/
public Url(final ParameterList aList, final String aValue)
throws URISyntaxException {
super(URL, aList, PropertyFactoryImpl.getInstance());
setValue(aValue);
}
代码示例来源:origin: net.oneandone.ical4j/ical4j
/**
* {@inheritDoc}
*/
public final String getValue() {
return Uris.decode(Strings.valueOf(getUri()));
}
代码示例来源:origin: org.bedework/bw-ical4j-cl
public Property createProperty(final String name) {
return new Url();
}
};
代码示例来源:origin: org.bedework/bw-ical4j-cl
public Property createProperty(final String name,
final ParameterList parameters, final String value)
throws IOException, URISyntaxException, ParseException {
return new Url(parameters, value);
}
代码示例来源:origin: org.mnode.ical4j/ical4j
public Property createProperty(final ParameterList parameters, final String value)
throws IOException, URISyntaxException, ParseException {
return new Url(parameters, value);
}
代码示例来源:origin: org.bedework.ical4j/ical4j
public Property createProperty(final ParameterList parameters, final String value)
throws IOException, URISyntaxException, ParseException {
return new Url(parameters, value);
}
代码示例来源:origin: org.bedework.ical4j/ical4j
public Property createProperty() {
return new Url();
}
}
内容来源于网络,如有侵权,请联系作者删除!