Class Importer.ImportVCard
- java.lang.Object
-
- de.unirostock.sems.cbarchive.meta.omex.VCard
-
- de.unirostock.sems.cbarchive.web.importer.Importer.ImportVCard
-
- Enclosing class:
- Importer
protected class Importer.ImportVCard extends de.unirostock.sems.cbarchive.meta.omex.VCard
Wrapper class for VCard datamodel, adding equals and hashCode for better determination in HashMaps/-Sets
-
-
Constructor Summary
Constructors Constructor Description ImportVCard(String MailUserString)
Generates a VCard from a default mail string
Given-Name Family-Name <mail@example.org>
Given-Name Family-NameImportVCard(org.eclipse.jgit.lib.PersonIdent person)
Generates a VCard from a JGit PersonIdent.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
int
hashCode()
-
-
-
Constructor Detail
-
ImportVCard
public ImportVCard(org.eclipse.jgit.lib.PersonIdent person)
Generates a VCard from a JGit PersonIdent.- Parameters:
person
- the person
-
ImportVCard
public ImportVCard(String MailUserString)
Generates a VCard from a default mail string
Given-Name Family-Name <mail@example.org>
Given-Name Family-Name- Parameters:
MailUserString
- the Mail user string
-
-