com.ecyrd.jspwiki.dav.items
Class HTMLPageDavItem

java.lang.Object
  extended by com.ecyrd.jspwiki.dav.items.DavItem
      extended by com.ecyrd.jspwiki.dav.items.PageDavItem
          extended by com.ecyrd.jspwiki.dav.items.HTMLPageDavItem

public class HTMLPageDavItem
extends PageDavItem

Represents a DAV HTML page item.

Since:

Field Summary
 
Fields inherited from class com.ecyrd.jspwiki.dav.items.PageDavItem
m_davns, m_dcns, m_page
 
Fields inherited from class com.ecyrd.jspwiki.dav.items.DavItem
m_items, m_path, m_provider
 
Constructor Summary
HTMLPageDavItem(DavProvider provider, DavPath path, WikiPage page)
           
 
Method Summary
 String getContentType()
          Returns the content type for the item.
 String getHref()
           
 InputStream getInputStream()
           
 long getLength()
           
 Collection getPropertySet()
           
 
Methods inherited from class com.ecyrd.jspwiki.dav.items.PageDavItem
getCommonProperties, getPage
 
Methods inherited from class com.ecyrd.jspwiki.dav.items.DavItem
getPath, iterator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLPageDavItem

public HTMLPageDavItem(DavProvider provider,
                       DavPath path,
                       WikiPage page)
Parameters:
provider - the DAV provider
path - the DAV path
page - the wiki page
Method Detail

getHref

public String getHref()
Overrides:
getHref in class PageDavItem
See Also:
DavItem.getHref()

getContentType

public String getContentType()
Returns the content type for the item. Always returns text/html; charset=UTF-8.

Overrides:
getContentType in class PageDavItem
See Also:
DavItem.getContentType()

getInputStream

public InputStream getInputStream()
Overrides:
getInputStream in class PageDavItem

getLength

public long getLength()
Overrides:
getLength in class PageDavItem

getPropertySet

public Collection getPropertySet()
Overrides:
getPropertySet in class PageDavItem