org.openstreetmap.osmosis.core.merge.v0_6
Class IntervalDownloaderInitializer

java.lang.Object
  extended by org.openstreetmap.osmosis.core.merge.v0_6.IntervalDownloaderInitializer
All Implemented Interfaces:
java.lang.Runnable, RunnableTask, Task

public class IntervalDownloaderInitializer
extends java.lang.Object
implements RunnableTask

Downloads a set of change files from a HTTP server, and merges them into a single output stream. It tracks the intervals covered by the current files and stores the current timestamp between invocations forming the basis of a replication mechanism.

Author:
Brett Henderson

Constructor Summary
IntervalDownloaderInitializer(java.io.File workingDirectory, java.util.Date initialDate)
          Creates a new instance.
 
Method Summary
 void run()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntervalDownloaderInitializer

public IntervalDownloaderInitializer(java.io.File workingDirectory,
                                     java.util.Date initialDate)
Creates a new instance.

Parameters:
workingDirectory - The directory containing configuration and tracking files.
initialDate - The date to begin changeset downloads from.
Method Detail

run

public void run()

Specified by:
run in interface java.lang.Runnable