public abstract static class ExchangeSession.Item extends HashMap<String,String>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier and Type | Field and Description |
---|---|
String |
displayName
Display name.
|
String |
etag
item etag
|
protected String |
folderPath |
protected String |
itemName |
protected String |
noneMatch |
protected String |
permanentUrl |
Modifier | Constructor and Description |
---|---|
protected |
Item()
Default constructor.
|
|
Item(String folderPath,
String itemName,
String etag,
String noneMatch)
Build item instance.
|
Modifier and Type | Method and Description |
---|---|
abstract String |
getBody()
Retrieve item body from Exchange
|
abstract String |
getContentType()
Return item content type
|
String |
getEtag()
Get event etag (last change tag).
|
String |
getHref()
Return item href.
|
String |
getName()
Get event name (file name part in URL).
|
void |
setHref(String href)
Set item href.
|
void |
setItemName(String itemName) |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
equals, hashCode, toString
protected String folderPath
protected String itemName
protected String permanentUrl
public String displayName
public String etag
protected String noneMatch
public Item(String folderPath, String itemName, String etag, String noneMatch)
folderPath
- folder pathitemName
- item name classetag
- item etagnoneMatch
- none match flagprotected Item()
public abstract String getContentType()
public abstract String getBody() throws IOException
IOException
- on errorpublic String getName()
public String getEtag()
public void setHref(String href)
href
- item hrefpublic String getHref()
public void setItemName(String itemName)
Copyright © 2001–2024 MickaĆ«l Guessant. All rights reserved.