use of org.bedework.calfacade.base.TypedUrl in project bw-calendar-engine by Bedework.
the class IcalUtil method getTypedUrl.
/**
* @param p
* @return TypedUrl
*/
public static TypedUrl getTypedUrl(final Property p) {
TypedUrl tu = new TypedUrl();
ParameterList pars = p.getParameters();
Parameter par = pars.getParameter(Parameter.TYPE);
if (par != null) {
tu.setType(par.getValue());
}
tu.setValue(p.getValue());
return tu;
}
Aggregations