org.openstreetmap.osmosis.core.merge.v0_5
Class ChangeDownloadInitializer

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

public class ChangeDownloadInitializer
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
ChangeDownloadInitializer(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

ChangeDownloadInitializer

public ChangeDownloadInitializer(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