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

de.svws_nrw.davapi.util.vcard.FullnameProperty Maven / Gradle / Ivy

Go to download

Diese Bibliothek enthält die Java-Server-Definition der CalDAV und CardDAV-Schnittstelle für die Schulverwaltungssoftware in NRW

There is a newer version: 1.0.1
Show newest version
package de.svws_nrw.davapi.util.vcard;

/**
 * Das Fullname Property einer VCard.
* * Type special notes: This type is based on the semantics of the X.520 Common * Name attribute. The property MUST be present in the vCard object.
* Beispiel
* {@code FN:Mr. John Q. Public\, Esq.} * * @see RFC FN * TYPE DEFINITION * * */ public final class FullnameProperty implements VCardProperty { /** * Konstante für den Typ des VCard Properties */ private static final String FN = "FN"; /** * Fullname dieser VCard */ private final String fullname; /** * erstellt ein FullnameProperty für eine VCard mit dem Namen als Parameter * * @param fullname der Name einer VCard */ public FullnameProperty(final String fullname) { this.fullname = fullname; } @Override public String getType() { return FN; } @Override public void serializeType(final StringBuilder sb) { sb.append(FN); } @Override public void serializeProperty(final StringBuilder sb) { sb.append(fullname); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy