uk.ac.rdg.resc.jstyx.client
Class StyxGet

java.lang.Object
  extended by uk.ac.rdg.resc.jstyx.client.CStyxFileChangeAdapter
      extended by uk.ac.rdg.resc.jstyx.client.StyxGet
All Implemented Interfaces:
CStyxFileChangeListener

public class StyxGet
extends CStyxFileChangeAdapter

A simple application that downloads a file from a remote server and times the download, providing an indication of progress as it goes.

Author:
Jon Blower $Revision: 86 $ $Date $ $Log$ Revision 1.1 2005/03/07 08:27:52 jonblower Initial import

Constructor Summary
StyxGet(java.lang.String styxURL, java.lang.String targetDir)
           
 
Method Summary
 void get()
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class uk.ac.rdg.resc.jstyx.client.CStyxFileChangeAdapter
childrenFound, dataArrived, dataWritten, downloadComplete, error, fileCreated, fileOpen, statChanged, uploadComplete
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StyxGet

public StyxGet(java.lang.String styxURL,
               java.lang.String targetDir)
        throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

get

public void get()
         throws StyxException
Throws:
StyxException

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2004-2006 Reading e-Science Centre. All Rights Reserved.