com.partnersoft.maps.translator
Class MapDataIndexer

java.lang.Object
  extended by com.partnersoft.maps.translator.MapDataCollector
      extended by com.partnersoft.maps.translator.MapDataFilter
          extended by com.partnersoft.maps.translator.MapDataIndexer

public class MapDataIndexer
extends MapDataFilter

A MapDataFilter that figures out the index values for items. These are stored in the item itself; it is the job of the final storage stage to decide what to do about them.

Copyright 2003-2009 Partner Software, Inc.

Version:
$Id: MapDataIndexer.java 2474 2010-03-13 14:28:43Z paul $
Author:
Paul Reavis

Field Summary
 
Fields inherited from class com.partnersoft.maps.translator.MapDataFilter
nextCollector
 
Fields inherited from class com.partnersoft.maps.translator.MapDataCollector
name, pipeline
 
Constructor Summary
MapDataIndexer(java.lang.String name, TranslationPipeline pipeline)
           
 
Method Summary
 void close()
          Optional; closes collector.
 void collect(MapDataGraphic graphic)
           
 
Methods inherited from class com.partnersoft.maps.translator.MapDataFilter
discard, flush, getNextCollector, pass, setNextCollector
 
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

MapDataIndexer

public MapDataIndexer(java.lang.String name,
                      TranslationPipeline pipeline)
Method Detail

collect

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

close

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

Overrides:
close in class MapDataCollector