org.apache.turbine.services.xmlrpc.util
Class FileTransfer

java.lang.Object
  |
  +--org.apache.turbine.services.xmlrpc.util.FileTransfer

public class FileTransfer
extends java.lang.Object

Test class for FileHandler.

Version:
$Id$
Author:
Jason van Zyl

Constructor Summary
FileTransfer()
           
 
Method Summary
static void get(java.lang.String serverURL, java.lang.String sourceLocationProperty, java.lang.String sourceFileName, java.lang.String destinationLocationProperty, java.lang.String destinationFileName)
          Method to allow a client to get a file to a server.
static void remove(java.lang.String serverURL, java.lang.String sourceLocationProperty, java.lang.String sourceFileName)
          Method to allow a client to remove a file from the server
static void send(java.lang.String serverURL, java.lang.String sourceLocationProperty, java.lang.String sourceFileName, java.lang.String destinationLocationProperty, java.lang.String destinationFileName)
          Method to allow a client to send a file to a server.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

FileTransfer

public FileTransfer()
Method Detail

send

public static void send(java.lang.String serverURL,
                        java.lang.String sourceLocationProperty,
                        java.lang.String sourceFileName,
                        java.lang.String destinationLocationProperty,
                        java.lang.String destinationFileName)
                 throws java.lang.Exception
Method to allow a client to send a file to a server.
Parameters:
serverURL -  
sourceLocationProperty -  
sourceFileName -  
destinationLocationProperty -  
destinationFileName -  

get

public static void get(java.lang.String serverURL,
                       java.lang.String sourceLocationProperty,
                       java.lang.String sourceFileName,
                       java.lang.String destinationLocationProperty,
                       java.lang.String destinationFileName)
                throws java.lang.Exception
Method to allow a client to get a file to a server.
Parameters:
serverURL -  
sourceLocationProperty -  
sourceFileName -  
destinationLocationProperty -  
destinationFileName -  

remove

public static void remove(java.lang.String serverURL,
                          java.lang.String sourceLocationProperty,
                          java.lang.String sourceFileName)
                   throws java.lang.Exception
Method to allow a client to remove a file from the server
Parameters:
serverURL -  
sourceLocationProperty -  
sourceFileName -  


Copyright © 1999-2001 Apache Software Foundation. All Rights Reserved.