davmail.exchange.dav
Class DavExchangeSession.Event
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<String,String>
davmail.exchange.ExchangeSession.Item
davmail.exchange.ExchangeSession.Event
davmail.exchange.dav.DavExchangeSession.Event
- All Implemented Interfaces:
- Serializable, Cloneable, Map<String,String>
- Enclosing class:
- DavExchangeSession
public class DavExchangeSession.Event
- extends ExchangeSession.Event
- See Also:
- Serialized Form
| Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
instancetype
protected String instancetype
DavExchangeSession.Event
public DavExchangeSession.Event(org.apache.jackrabbit.webdav.MultiStatusResponse multiStatusResponse)
throws org.apache.commons.httpclient.URIException
- Build Event instance from response info.
- Parameters:
multiStatusResponse - response
- Throws:
org.apache.commons.httpclient.URIException - on error
DavExchangeSession.Event
public DavExchangeSession.Event(String folderPath,
String itemName,
String contentClass,
String itemBody,
String etag,
String noneMatch)
throws IOException
- Throws:
IOException
getPermanentUrl
protected String getPermanentUrl()
getICSFromInternetContentProperty
protected byte[] getICSFromInternetContentProperty()
throws IOException,
org.apache.jackrabbit.webdav.DavException,
javax.mail.MessagingException
- Throws:
IOException
org.apache.jackrabbit.webdav.DavException
javax.mail.MessagingException
getEventContent
public byte[] getEventContent()
throws IOException
- Load ICS content from Exchange server.
User Translate: f header to get MIME event content and get ICS attachment from it
- Specified by:
getEventContent in class ExchangeSession.Event
- Returns:
- ICS (iCalendar) event
- Throws:
org.apache.commons.httpclient.HttpException - on error
IOException
deleteBroken
protected void deleteBroken()
internalCreateOrUpdate
protected org.apache.commons.httpclient.methods.PutMethod internalCreateOrUpdate(String encodedHref,
byte[] mimeContent)
throws IOException
- Throws:
IOException
createOrUpdate
public ExchangeSession.ItemResult createOrUpdate()
throws IOException
- Description copied from class:
ExchangeSession.Event
- Create or update item
- Specified by:
createOrUpdate in class ExchangeSession.Event
- Returns:
- action result
- Throws:
IOException - on error
Copyright © 2001-2013 MickaĆ«l Guessant. All Rights Reserved.