dimawo.fileTransfer.test
Class Test

java.lang.Object
  extended by dimawo.fileTransfer.test.Test
All Implemented Interfaces:
ErrorHandler, FileTransferClientCallBack, FileProvider

public class Test
extends Object
implements FileProvider, ErrorHandler, FileTransferClientCallBack


Constructor Summary
Test(String[] fileName)
           
 
Method Summary
 File getFile(String fileUID)
           
static void main(String[] args)
           
 void signalChildError(Throwable t, String errorSourceId)
          Signals an error.
 void submitFile(GetFileCallBack cb)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Test

public Test(String[] fileName)
Method Detail

main

public static void main(String[] args)
                 throws IOException,
                        FileTransferException
Parameters:
args -
Throws:
IOException
FileTransferException

getFile

public File getFile(String fileUID)
Specified by:
getFile in interface FileProvider

signalChildError

public void signalChildError(Throwable t,
                             String errorSourceId)
Description copied from interface: ErrorHandler
Signals an error.

Specified by:
signalChildError in interface ErrorHandler
Parameters:
t - The error.
errorSourceId - A name describing the error's source i.e. the component that caused the error.

submitFile

public void submitFile(GetFileCallBack cb)
Specified by:
submitFile in interface FileTransferClientCallBack


Copyright © 2011 DiMaWo Team. All Rights Reserved.