org.openstreetmap.osmosis.extract.apidb.v0_6
Class IntervalExtractor

java.lang.Object
  extended by org.openstreetmap.osmosis.extract.apidb.v0_6.IntervalExtractor

public class IntervalExtractor
extends java.lang.Object

Performs an extract from a database for a single time interval and writes to a change file.

Author:
Brett Henderson

Constructor Summary
IntervalExtractor(Configuration config, java.io.File baseDirectory, java.util.Date intervalBegin, java.util.Date intervalEnd, boolean fullHistory)
          Creates a new instance.
 
Method Summary
 void run()
          Runs the changeset extraction.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntervalExtractor

public IntervalExtractor(Configuration config,
                         java.io.File baseDirectory,
                         java.util.Date intervalBegin,
                         java.util.Date intervalEnd,
                         boolean fullHistory)
Creates a new instance.

Parameters:
config - The configuration object defining runtime parameters.
baseDirectory - The root of the changeset extraction directory tree.
intervalBegin - The beginning of the interval to extract.
intervalEnd - The end of the interval to extract.
fullHistory - Specifies if full version history should be returned, or just a single change per entity for the interval.
Method Detail

run

public void run()
Runs the changeset extraction.