smbdav.properties
Class GetContentTypeProperty

java.lang.Object
  extended bysmbdav.AbstractProperty
      extended bysmbdav.properties.GetContentTypeProperty
All Implemented Interfaces:
Property

public class GetContentTypeProperty
extends AbstractProperty

Provides access to the getcontenttype property. This implementation returns the content type of the resource as set by the deployment descriptor.

Author:
Eric Glass

Field Summary
 
Fields inherited from interface smbdav.Property
DAV_NAMESPACE, WEB_FOLDERS_NAMESPACE, XMLNS_NAMESPACE
 
Constructor Summary
GetContentTypeProperty()
           
 
Method Summary
 int retrieve(jcifs.smb.SmbFile file, org.w3c.dom.Element element)
          Populates the provided Element with the current value of the property for the given resource.
 
Methods inherited from class smbdav.AbstractProperty
addNamespace, createElement, destroy, equals, getName, getNamespace, getNamespace, getPrefix, getPrefix, getServletConfig, hashCode, init, toString, update
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetContentTypeProperty

public GetContentTypeProperty()
Method Detail

retrieve

public int retrieve(jcifs.smb.SmbFile file,
                    org.w3c.dom.Element element)
             throws java.io.IOException
Description copied from interface: Property
Populates the provided Element with the current value of the property for the given resource.

Specified by:
retrieve in interface Property
Specified by:
retrieve in class AbstractProperty
Throws:
java.io.IOException


Copyright © 2004 Eric Glass