Package net.fortuna.ical4j.model.property

Examples of net.fortuna.ical4j.model.property.Url


        vEvent.getProperties().add(new Description(event.getEventURL()));

        // URL
        if (event.getUrl() != null && !event.getUrl().isEmpty()) {
            try {
                vEvent.getProperties().add(new Url(new URI(event.getUrl())));
            } catch (URISyntaxException e) {
                e.printStackTrace();
            }
        }
View Full Code Here


            properties.add(new Description(description));
            properties.add(new DtStart(new DateTime(c.getTime()), true));
            properties.add(new DtEnd(new DateTime(c.getTime()), true));
            try {
                URI uri = new URI(nicolive.getLink().getValue());
                properties.add(new Url(uri));
            } catch (URISyntaxException e) {
                LOGGER.warning(e.getMessage());
            }

            VEvent event = new VEvent(properties);
View Full Code Here

            vEvent.getProperties().add(new Location(event.getLocation()));
        }

        if (event.getUrl() != null) {
            try {
                vEvent.getProperties().add(new Url(new URI(event.getUrl())));
            } catch (URISyntaxException e) {
            }
        }

        if (event.getNote() != null) {
View Full Code Here

TOP

Related Classes of net.fortuna.ical4j.model.property.Url

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.