com.partnersoft.maps.translator
Class RoverBundleBuilder

java.lang.Object
  extended by com.partnersoft.maps.translator.MapDataCollector
      extended by com.partnersoft.maps.translator.RoverBundleBuilder

public class RoverBundleBuilder
extends MapDataCollector

A MapDataCollector that builds a RoverBundle. Use it as the outputStage for your TranslationPipeline for in-memory translations.

Author:
Paul Reavis Copyright 2005 Partner Software, Inc.

Field Summary
 
Fields inherited from class com.partnersoft.maps.translator.MapDataCollector
name, pipeline
 
Constructor Summary
RoverBundleBuilder(java.lang.String name, TranslationPipeline pipeline, MapSpace mapSpace, RoverSet roverSet)
           
 
Method Summary
 void close()
          Optional; closes collector.
 void collect(MapDataGraphic graphic)
           
 RoverBundle getBundle()
           
 
Methods inherited from class com.partnersoft.maps.translator.MapDataCollector
getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoverBundleBuilder

public RoverBundleBuilder(java.lang.String name,
                          TranslationPipeline pipeline,
                          MapSpace mapSpace,
                          RoverSet roverSet)
Method Detail

collect

public void collect(MapDataGraphic graphic)
             throws java.io.IOException
Specified by:
collect in class MapDataCollector
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Description copied from class: MapDataCollector
Optional; closes collector.

Overrides:
close in class MapDataCollector
Throws:
java.io.IOException

getBundle

public RoverBundle getBundle()