public class AttachmentItem extends PageDavItem
m_davns, m_dcns, m_pagem_items, m_path, m_provider| Constructor and Description |
|---|
AttachmentItem(AttachmentDavProvider provider,
DavPath path,
Attachment att)
Constructs a new DAV attachment.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getContentType()
Returns the content type as defined by the servlet container;
or if the container cannot be found, returns "application/octet-stream".
|
java.lang.String |
getHref() |
long |
getLength()
Returns the length of the attachment.
|
java.util.Collection |
getPropertySet()
Returns a collection of properties for this attachment.
|
getCommonProperties, getInputStream, getPagepublic AttachmentItem(AttachmentDavProvider provider, DavPath path, Attachment att)
provider - the dav providerpath - the current dav pathatt - the attachmentpublic java.util.Collection getPropertySet()
getPropertySet in class PageDavItemDavItem.getPropertySet()public java.lang.String getHref()
getHref in class PageDavItempublic java.lang.String getContentType()
getContentType in class PageDavItempublic long getLength()
getLength in class PageDavItemDavItem.getLength()stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.