public class AttachmentItem extends PageDavItem
m_davns, m_dcns, m_page
m_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, getPage
public AttachmentItem(AttachmentDavProvider provider, DavPath path, Attachment att)
provider
- the dav providerpath
- the current dav pathatt
- the attachmentpublic java.util.Collection getPropertySet()
getPropertySet
in class PageDavItem
DavItem.getPropertySet()
public java.lang.String getHref()
getHref
in class PageDavItem
public java.lang.String getContentType()
getContentType
in class PageDavItem
public long getLength()
getLength
in class PageDavItem
DavItem.getLength()
stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.