dw.net
Class WebDAVFileInfo
Object
dw.net.WebDAVFileInfo
Simple class representing a file on a remote WebDAV location. The class possesses only read-only attributes of the file and does not permit any manipulation of the file itself. Instances of this class are returned by WebDAVClient.propfind(String) which is used to get a listing of files in a WebDAV directory.

Note: when this class is used with sensitive data, be careful in persisting sensitive information to disk.

Properties
contentType  :  String  (Read Only)
The content type of the file.
creationDate  :  Date  (Read Only)
The creationDate of the file.
directory  :  boolean  (Read Only)
Identifies if the file is a directory.
name  :  String  (Read Only)
The name of the file.
path  :  String  (Read Only)
The path of the file.
size  :  Number  (Read Only)
The size of the file.
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
getContentType() : String
Returns the content type of the file.
getCreationDate() : Date
Returns the creationDate of the file.
getName() : String
Returns the name of the file.
getPath() : String
Returns the path of the file.
getSize() : Number
Returns the size of the file.
isDirectory() : boolean
Identifies if the file is a directory.
lastModified() : Date
Returns the lastModified date of the file.
Method Detail
getContentType
getContentType() : String
Returns the content type of the file.
Returns:
the content type of the file.

getCreationDate
getCreationDate() : Date
Returns the creationDate of the file.
Returns:
the creationDate of the file.

getName
getName() : String
Returns the name of the file.
Returns:
the name of the file.

getPath
getPath() : String
Returns the path of the file.
Returns:
the path of the file.

getSize
getSize() : Number
Returns the size of the file.
Returns:
the size of the file.

isDirectory
isDirectory() : boolean
Identifies if the file is a directory.
Returns:
true if the file is a directory, false otherwise.

lastModified
lastModified() : Date
Returns the lastModified date of the file.
Returns:
the lastModified date of the file.