|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.armatiek.infofuze.stream.filesystem.AbstractFile
com.armatiek.infofuze.stream.filesystem.webdav.WebDAVFile
public class WebDAVFile
| Constructor Summary | |
|---|---|
WebDAVFile(org.apache.commons.httpclient.HttpClient httpClient,
org.apache.jackrabbit.webdav.MultiStatusResponse response,
java.lang.String uri)
|
|
WebDAVFile(org.apache.commons.httpclient.HttpClient httpClient,
java.lang.String uri)
|
|
| Method Summary | |
|---|---|
long |
created()
|
java.lang.String |
getCharacterEncoding()
Returns the name of the character encoding (MIME charset) of the character contents of this file. |
java.io.InputStream |
getInputStream()
Returns the contents of the file as a byte stream. |
java.lang.String |
getMimeType()
Returns the mime type/content type of the contents of the file. |
java.lang.String |
getName()
Returns the name of the file. |
java.lang.String |
getParent()
Returns the path of the parent of the file. |
FileIf |
getParentFile()
Returns the parent of the file. |
java.lang.String |
getPath()
Returns the path of the file. |
boolean |
isDirectory()
Tests whether the file denoted by this abstract pathname is a directory. |
boolean |
isFile()
Tests whether this file is a normal file. |
long |
lastModified()
Returns the time that this file was last modified. |
long |
length()
Returns the length of this file. |
java.util.Iterator<FileIf> |
listFiles()
Returns an iterator of files and directories in the directory denoted by this file. |
| Methods inherited from class com.armatiek.infofuze.stream.filesystem.AbstractFile |
|---|
canRead, exists, hasContent, isHidden |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.armatiek.infofuze.stream.filesystem.FileIf |
|---|
equals |
| Constructor Detail |
|---|
public WebDAVFile(org.apache.commons.httpclient.HttpClient httpClient,
java.lang.String uri)
public WebDAVFile(org.apache.commons.httpclient.HttpClient httpClient,
org.apache.jackrabbit.webdav.MultiStatusResponse response,
java.lang.String uri)
| Method Detail |
|---|
public long created()
public java.io.InputStream getInputStream()
throws java.io.IOException
FileIf
java.io.IOExceptionpublic java.lang.String getCharacterEncoding()
FileIf
getCharacterEncoding in interface FileIfgetCharacterEncoding in class AbstractFilepublic java.lang.String getMimeType()
FileIf
getMimeType in interface FileIfgetMimeType in class AbstractFilepublic java.lang.String getName()
FileIf
public java.lang.String getParent()
FileIf
public FileIf getParentFile()
FileIf
public java.lang.String getPath()
FileIf
public boolean isDirectory()
FileIf
public boolean isFile()
FileIf
public long lastModified()
FileIf
public long length()
FileIf
public java.util.Iterator<FileIf> listFiles()
FileIf
listFiles in interface FileIflistFiles in class AbstractFile
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||