dimawo.fileTransfer.test
Class Test
java.lang.Object
dimawo.fileTransfer.test.Test
- All Implemented Interfaces:
- ErrorHandler, FileTransferClientCallBack, FileProvider
public class Test
- extends Object
- implements FileProvider, ErrorHandler, FileTransferClientCallBack
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Test
public Test(String[] fileName)
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.