org.scijava.util
Class MirrorWebsite

java.lang.Object
  extended by org.scijava.util.MirrorWebsite

public class MirrorWebsite
extends Object

This program mirrors a given website.

Its primary purpose is to provide the code necessary to keep ImageJ Mirror up-to-date.

Author:
Johannes Schindelin

Field Summary
static long DELAY_IN_MICROSECONDS
           
static int THREAD_COUNT
           
 
Constructor Summary
MirrorWebsite(String baseURL, File localDirectory, int threadCount, long delay)
           
 
Method Summary
static void main(String[] args)
           
 void mirror(String path)
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

THREAD_COUNT

public static final int THREAD_COUNT
See Also:
Constant Field Values

DELAY_IN_MICROSECONDS

public static final long DELAY_IN_MICROSECONDS
See Also:
Constant Field Values
Constructor Detail

MirrorWebsite

public MirrorWebsite(String baseURL,
                     File localDirectory,
                     int threadCount,
                     long delay)
Method Detail

run

public void run()
         throws InterruptedException
Throws:
InterruptedException

mirror

public void mirror(String path)

main

public static void main(String[] args)


Copyright © 2009–2015 SciJava. All rights reserved.