com.partnersoft.maps.file
Class LargeFindItemBuilder

java.lang.Object
  extended by com.partnersoft.maps.file.LargeFindItemBuilder

public class LargeFindItemBuilder
extends java.lang.Object

Builds and sorts a FindItemFile.

Copyright 2009 Partner Software, Inc.

Version:
$Id$
Author:
Paul Reavis

Constructor Summary
LargeFindItemBuilder(Path path)
           
LargeFindItemBuilder(java.lang.String pathString)
           
LargeFindItemBuilder(VfsFile findItemFile)
           
 
Method Summary
 void addItem(java.lang.String name, int id)
           
 void finish()
           
 int getBatchSize()
           
 int getBufferSize()
           
 void setBatchSize(int batchSize)
           
 void setBufferSize(int bufferSize)
           
 void start()
          This should be called before addItem() is called, but after any parameters like bufferSize are set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LargeFindItemBuilder

public LargeFindItemBuilder(java.lang.String pathString)
                     throws java.io.IOException
Throws:
java.io.IOException

LargeFindItemBuilder

public LargeFindItemBuilder(Path path)
                     throws java.io.IOException
Throws:
java.io.IOException

LargeFindItemBuilder

public LargeFindItemBuilder(VfsFile findItemFile)
                     throws java.io.IOException
Throws:
java.io.IOException
Method Detail

start

public void start()
           throws java.io.IOException
This should be called before addItem() is called, but after any parameters like bufferSize are set.

Throws:
java.io.IOException

addItem

public void addItem(java.lang.String name,
                    int id)
             throws java.io.IOException
Throws:
java.io.IOException

finish

public void finish()
            throws java.io.IOException
Throws:
java.io.IOException

getBatchSize

public int getBatchSize()

setBatchSize

public void setBatchSize(int batchSize)

getBufferSize

public int getBufferSize()

setBufferSize

public void setBufferSize(int bufferSize)