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

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

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

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

/**
 * CN
 * Common Name
 * RFC 5545, 3.2.2, page 15
 * 
 * To specify the common name to be associated with the calendar user specified by the property.
 * 
 * Example:
 * ORGANIZER;CN="John Smith":mailto:[email protected]
 * 
 * @author David Bal
 */
public class CommonName extends VParameterBase
{
	private static final StringConverter CONVERTER = StringConverters.defaultStringConverterWithQuotes();
	
    public CommonName()
    {
        super(CONVERTER);
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy