All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jfxtras.icalendarfx.parameters.DirectoryEntry Maven / Gradle / Ivy

There is a newer version: 17-r1
Show newest version
package jfxtras.icalendarfx.parameters;

import java.net.URI;

import jfxtras.icalendarfx.parameters.DirectoryEntry;
import jfxtras.icalendarfx.parameters.VParameterBase;
import jfxtras.icalendarfx.utilities.StringConverter;
import jfxtras.icalendarfx.utilities.StringConverters;

/**
 * DIR
 * Directory Entry Reference
 * RFC 5545, 3.2.6, page 18
 * 
 * To specify reference to a directory entry associated with
 *     the calendar user specified by the property.
 * 
 * Example:
 * ORGANIZER;DIR="ldap://example.com:6666/o=ABC%20Industries,
 *  c=US???(cn=Jim%20Dolittle)":mailto:[email protected]
 * 
 * @author David Bal
 *
 */
public class DirectoryEntry extends VParameterBase
{
	private static final StringConverter CONVERTER = StringConverters.uriConverterWithQuotes();

    public DirectoryEntry(URI uri)
    {
        super(uri, CONVERTER);
    }
    
    public DirectoryEntry()
    {
        super(CONVERTER);
    }

    public DirectoryEntry(DirectoryEntry source)
    {
        super(source, CONVERTER);
    }
    
    public static DirectoryEntry parse(String content)
    {
    	return DirectoryEntry.parse(new DirectoryEntry(), content);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy