SRJRCFrames
v0.1.296

de.schwarzrot.net.support
Class DefaultFileSystemServiceClient

java.lang.Object
  extended by de.schwarzrot.net.support.DefaultFileSystemServiceClient
All Implemented Interfaces:
SrvFSClient

public class DefaultFileSystemServiceClient
extends Object
implements SrvFSClient


Constructor Summary
DefaultFileSystemServiceClient()
           
 
Method Summary
protected  org.codehaus.jackson.JsonNode checkResult(org.codehaus.jackson.JsonNode node)
           
 File createDirectory(File directory, String newDirectoryName)
           
protected  File createFile(File dir, org.codehaus.jackson.JsonNode node)
           
 String getBaseURL()
           
 List<File> getChildren(File directory)
           
 ServiceClient getClient()
           
 File getFile(File directory, String name)
           
 File getRootPath()
           
 boolean remove(File fileOrDirectory)
           
 boolean rename(File destination, File source)
           
 void setBaseURL(String baseURL)
           
 void setClient(ServiceClient serviceClient)
           
 boolean setReadOnly(File path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultFileSystemServiceClient

public DefaultFileSystemServiceClient()
Method Detail

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)

SRJRCFrames
v0.1.296

hosted at
Find SRJRCFrames at SourceForge.net. Fast, secure and free:
           Open Source Software download
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.