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

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

public class ReplicationDownloaderInitializer
extends java.lang.Object
implements RunnableTask

Downloads a set of replication 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
ReplicationDownloaderInitializer(java.io.File workingDirectory)
          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

ReplicationDownloaderInitializer

public ReplicationDownloaderInitializer(java.io.File workingDirectory)
Creates a new instance.

Parameters:
workingDirectory - The directory containing configuration and tracking files.
Method Detail

run

public void run()

Specified by:
run in interface java.lang.Runnable