com.caucho.servlets.webdav
Class XmlApplicationPath.FileAttributes

java.lang.Object
  extended by com.caucho.servlets.webdav.XmlApplicationPath.FileAttributes
Enclosing class:
XmlApplicationPath

public static class XmlApplicationPath.FileAttributes
extends java.lang.Object


Constructor Summary
XmlApplicationPath.FileAttributes()
           
 
Method Summary
 java.lang.String getAttribute(AttributeName name)
          Returns an attribute value.
 java.util.Iterator getAttributeNames()
          Returns an iterator over the attribute names.
 void removeAttribute(AttributeName name)
          Removes an attribute value.
 boolean setAttribute(AttributeName name, java.lang.String value)
          Sets an attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlApplicationPath.FileAttributes

public XmlApplicationPath.FileAttributes()
Method Detail

getAttributeNames

public java.util.Iterator getAttributeNames()
                                     throws java.io.IOException
Returns an iterator over the attribute names. Each attribute name is of the type AttributeName.

Throws:
java.io.IOException

getAttribute

public java.lang.String getAttribute(AttributeName name)
                              throws java.io.IOException
Returns an attribute value.

Throws:
java.io.IOException

setAttribute

public boolean setAttribute(AttributeName name,
                            java.lang.String value)
Sets an attribute value.

Parameters:
name - the attribute name
value - the attribute value
Returns:
true if the setting was successful

removeAttribute

public void removeAttribute(AttributeName name)
                     throws java.io.IOException
Removes an attribute value.

Parameters:
name - the attribute name
Throws:
java.io.IOException