org.apache.webdav.lib.properties
Class GetContentLengthProperty

java.lang.Object
  extended byorg.apache.webdav.lib.BaseProperty
      extended byorg.apache.webdav.lib.properties.GetContentLengthProperty
All Implemented Interfaces:
Property

public class GetContentLengthProperty
extends BaseProperty

Version:
$Revision: 1.4 $

Field Summary
static java.lang.String TAG_NAME
           
 
Fields inherited from class org.apache.webdav.lib.BaseProperty
element, response
 
Constructor Summary
GetContentLengthProperty(ResponseEntity response, org.w3c.dom.Element element)
           
 
Method Summary
 long getLength()
          Get the content length.
 
Methods inherited from class org.apache.webdav.lib.BaseProperty
getElement, getLocalName, getName, getNamespaceURI, getOwningURL, getPropertyAsString, getStatusCode, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TAG_NAME

public static final java.lang.String TAG_NAME
See Also:
Constant Field Values
Constructor Detail

GetContentLengthProperty

public GetContentLengthProperty(ResponseEntity response,
                                org.w3c.dom.Element element)
Method Detail

getLength

public long getLength()
Get the content length.

Throws:
java.lang.NumberFormatException