de.schwarzrot.net.support
Class DefaultFileSystemServiceClient
java.lang.Object
de.schwarzrot.net.support.DefaultFileSystemServiceClient
- All Implemented Interfaces:
- SrvFSClient
public class DefaultFileSystemServiceClient
- extends Object
- implements SrvFSClient
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultFileSystemServiceClient
public DefaultFileSystemServiceClient()
createDirectory
public File createDirectory(File directory,
String newDirectoryName)
- Specified by:
createDirectory
in interface SrvFSClient
getBaseURL
public String getBaseURL()
getChildren
public List<File> getChildren(File directory)
- Specified by:
getChildren
in interface SrvFSClient
getClient
public ServiceClient getClient()
getFile
public File getFile(File directory,
String name)
- Specified by:
getFile
in interface SrvFSClient
getRootPath
public File getRootPath()
- Specified by:
getRootPath
in interface SrvFSClient
remove
public boolean remove(File fileOrDirectory)
- Specified by:
remove
in interface SrvFSClient
rename
public boolean rename(File destination,
File source)
- Specified by:
rename
in interface SrvFSClient
setBaseURL
public void setBaseURL(String baseURL)
setClient
public void setClient(ServiceClient serviceClient)
setReadOnly
public boolean setReadOnly(File path)
- Specified by:
setReadOnly
in interface SrvFSClient
checkResult
protected org.codehaus.jackson.JsonNode checkResult(org.codehaus.jackson.JsonNode node)
throws IOException
- Throws:
IOException
createFile
protected File createFile(File dir,
org.codehaus.jackson.JsonNode node)
Submit
a bug or request a feature
SRJRCFrames is published according to the
GNU General Public License
Copyright 2005-2012
Reinhard Mantey - some rights reserved.