org.osm2world.core
Class ConversionFacade

Object
  extended by ConversionFacade

public class ConversionFacade
extends Object

provides an easy way to call all steps of the conversion process in the correct order


Nested Class Summary
static class ConversionFacade.Phase
           
static interface ConversionFacade.ProgressListener
          implemented by classes that want to be informed about a conversion run's progress
static class ConversionFacade.Results
          all results of a conversion run
 
Constructor Summary
ConversionFacade()
           
 
Method Summary
 void addProgressListener(ConversionFacade.ProgressListener listener)
           
 ConversionFacade.Results createRepresentations(File osmFile)
          performs all necessary steps to go from an OSM file to the renderable representations.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConversionFacade

public ConversionFacade()
Method Detail

createRepresentations

public ConversionFacade.Results createRepresentations(File osmFile)
                                               throws IOException
performs all necessary steps to go from an OSM file to the renderable representations. Sends updates to ConversionFacade.ProgressListeners.

Throws:
IOException

addProgressListener

public void addProgressListener(ConversionFacade.ProgressListener listener)