|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jalios.jcms.webdav.WebdavFileSystem com.jalios.jcms.webdav.file.FileWebdavFileSystem
public class FileWebdavFileSystem
A File Representation of a Webdav FileSystem The root directory will be defined by servlet configuration parameter "RootPath"
Field Summary | |
---|---|
protected String |
basePath
|
static String |
REVISION
|
Fields inherited from class com.jalios.jcms.webdav.WebdavFileSystem |
---|
resourceLocks |
Constructor Summary | |
---|---|
FileWebdavFileSystem(WebdavContext ctxt)
|
Method Summary | |
---|---|
boolean |
doCopy(WebdavResource source,
WebdavResource target,
boolean overwrite,
boolean recursive,
WebdavContext ctxt)
This method perform copy from one Webdav Resource to an Other |
boolean |
doCreate(WebdavResource resource,
boolean overwrite,
boolean isFolder,
WebdavContext ctxt)
This method perform create from one Webdav Resource |
boolean |
doDelete(WebdavResource resource,
boolean recursive,
WebdavContext ctxt)
This method perform delete from one Webdav Resource |
boolean |
doMove(WebdavResource source,
WebdavResource target,
boolean overwrite,
boolean recursive,
WebdavContext ctxt)
This method perform move from one Webdav Resource to an Other |
String |
getAbsolutePath(String path,
WebdavContext ctxt)
Work like getAbsoluteUri() but with FileSystem Path |
String |
getRelativePath(String path,
WebdavContext ctxt)
Work like getRelativeUri() but with FileSystem Path |
WebdavResource |
getResource(String uri,
WebdavContext ctxt)
Lookup the resource represented by the given URI. |
WebdavLock |
newLock(WebdavResource resource,
WebdavContext ctxt)
This method will return a new WebdavLock implementation |
Methods inherited from class com.jalios.jcms.webdav.WebdavFileSystem |
---|
afterDoDelete, afterDoMove, doLock, doPut, doUnlock, getAbsoluteUri, getDescendantLocks, getLocks, getRelativeUri, hasInternalLock, init, isInternallyLocked, isListing, isReadOnly, matchesIfHeaderCondition, normalize, putLock, putLocks, refreshLock, removeLock, removeLocks, silentFilterResource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String REVISION
protected String basePath
Constructor Detail |
---|
public FileWebdavFileSystem(WebdavContext ctxt)
Method Detail |
---|
public String getAbsolutePath(String path, WebdavContext ctxt)
path
- the file pathctxt
- the Webdav Context
WebdavFileSystem.getAbsoluteUri(String, WebdavContext)
public String getRelativePath(String path, WebdavContext ctxt)
path
- the absolute pathctxt
- the Webdav Context
WebdavFileSystem.getRelativeUri(String, WebdavContext)
public WebdavResource getResource(String uri, WebdavContext ctxt)
WebdavFileSystem
getResource
in class WebdavFileSystem
uri
- the resource URIctxt
- the Webdav Context
WebdavFileSystem.getResource(String, WebdavContext)
public boolean doCopy(WebdavResource source, WebdavResource target, boolean overwrite, boolean recursive, WebdavContext ctxt)
WebdavFileSystem
doCopy
in class WebdavFileSystem
source
- a Webdav Resourcetarget
- a Webdav Resourceoverwrite
- a boolean indicate to overite or not the resourcerecursive
- is it a recursive copyctxt
- the Webdav Context
WebdavFileSystem.doCopy(WebdavResource, WebdavResource, boolean, boolean, WebdavContext)
public boolean doMove(WebdavResource source, WebdavResource target, boolean overwrite, boolean recursive, WebdavContext ctxt)
WebdavFileSystem
doMove
in class WebdavFileSystem
source
- a Webdav Resourcetarget
- a Webdav Resourceoverwrite
- a boolean indicate to overite or not the resourcerecursive
- is it a recursive copyctxt
- the Webdav Context
WebdavFileSystem.doMove(WebdavResource, WebdavResource, boolean, boolean, WebdavContext)
public boolean doCreate(WebdavResource resource, boolean overwrite, boolean isFolder, WebdavContext ctxt)
WebdavFileSystem
doCreate
in class WebdavFileSystem
resource
- the Webdav Resourceoverwrite
- a boolean indicate to ovewrite the resourceisFolder
- create a File or a Folder
WebdavFileSystem.doCreate(WebdavResource, boolean, boolean, WebdavContext)
public boolean doDelete(WebdavResource resource, boolean recursive, WebdavContext ctxt)
WebdavFileSystem
doDelete
in class WebdavFileSystem
resource
- the Webdav Resourcerecursive
- is it a recursive delete
WebdavFileSystem.doDelete(WebdavResource, boolean, WebdavContext)
public WebdavLock newLock(WebdavResource resource, WebdavContext ctxt)
WebdavFileSystem
newLock
in class WebdavFileSystem
resource
- the Webdav Resourcectxt
- the Webdav Context
WebdavFileSystem.newLock(WebdavResource, WebdavContext)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |