SRJRCFrames
v0.1.296

de.schwarzrot.app.file
Class FileClient

java.lang.Object
  extended by de.schwarzrot.app.file.FileClient
All Implemented Interfaces:
Client

public class FileClient
extends Object
implements Client


Constructor Summary
FileClient(File exchangeDirectory)
           
FileClient(File exchangeDirectory, Charset cs)
           
 
Method Summary
protected  org.apache.commons.logging.Log getLogger()
           
 int getNLSize()
           
 boolean isServerReachable()
           
protected  void readFile(String fileName, ResponseHandler handler)
           
 void requestResponse(ResponseHandler handler)
           
 void setMappedFile(String key, String fileName)
           
protected  void writeFile(String fileName, ResponseHandler handler)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileClient

public FileClient(File exchangeDirectory)

FileClient

public FileClient(File exchangeDirectory,
                  Charset cs)
Method Detail

getNLSize

public final int getNLSize()
Specified by:
getNLSize in interface Client

isServerReachable

public boolean isServerReachable()
Specified by:
isServerReachable in interface Client

requestResponse

public void requestResponse(ResponseHandler handler)
Specified by:
requestResponse in interface Client

setMappedFile

public void setMappedFile(String key,
                          String fileName)

getLogger

protected final org.apache.commons.logging.Log getLogger()

readFile

protected void readFile(String fileName,
                        ResponseHandler handler)

writeFile

protected void writeFile(String fileName,
                         ResponseHandler handler)

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.