Package davmail.exchange
Class ExchangeSession.Contact
java.lang.Object
java.util.AbstractMap<String,String>
java.util.HashMap<String,String>
davmail.exchange.ExchangeSession.Item
davmail.exchange.ExchangeSession.Contact
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,String>
- Direct Known Subclasses:
DavExchangeSession.Contact,EwsExchangeSession.Contact,GraphExchangeSession.Contact
- Enclosing class:
ExchangeSession
Contact object
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Field Summary
FieldsFields inherited from class davmail.exchange.ExchangeSession.Item
displayName, etag, folderPath, itemName, noneMatch, permanentUrl -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidabstract ExchangeSession.ItemResultgetBody()Retrieve item body from ExchangeReturn item content typegetName()Convert EML extension to vcf.getUid()Compute vcard uid from name.voidSet contact namevoidsetVCardVersion(String vCardVersion) Methods inherited from class davmail.exchange.ExchangeSession.Item
getEtag, getHref, setHref, setItemNameMethods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, newHashMap, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Field Details
-
distributionListMembers
-
vCardVersion
-
-
Constructor Details
-
Contact
-
Contact
protected Contact()
-
-
Method Details
-
setVCardVersion
-
createOrUpdate
- Throws:
IOException
-
getName
Convert EML extension to vcf.- Overrides:
getNamein classExchangeSession.Item- Returns:
- item name
-
setName
Set contact name- Parameters:
name- contact name
-
getUid
Compute vcard uid from name.- Returns:
- uid
-
getContentType
Description copied from class:ExchangeSession.ItemReturn item content type- Specified by:
getContentTypein classExchangeSession.Item- Returns:
- content type
-
addMember
-
getBody
Description copied from class:ExchangeSession.ItemRetrieve item body from Exchange- Specified by:
getBodyin classExchangeSession.Item- Returns:
- item body
-