org.openstreetmap.osmosis.core.merge.v0_6.impl
Class ReplicationDownloaderConfiguration

java.lang.Object
  extended by org.openstreetmap.osmosis.core.merge.v0_6.impl.ReplicationDownloaderConfiguration

public class ReplicationDownloaderConfiguration
extends java.lang.Object

Loads and exposes the configuration properties for downloading replication history.

Author:
Brett Henderson

Constructor Summary
ReplicationDownloaderConfiguration(java.io.File configFile)
          Creates a new instance.
 
Method Summary
 java.net.URL getBaseUrl()
          Returns the URL that change files should be downloaded from.
 int getMaxInterval()
          Returns the maximum interval to be downloaded in a single invocation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplicationDownloaderConfiguration

public ReplicationDownloaderConfiguration(java.io.File configFile)
Creates a new instance.

Parameters:
configFile - The configuration file to read from.
Method Detail

getBaseUrl

public java.net.URL getBaseUrl()
Returns the URL that change files should be downloaded from.

Returns:
The download URL.

getMaxInterval

public int getMaxInterval()
Returns the maximum interval to be downloaded in a single invocation.

Returns:
The maximum download interval.