public class GeonamesIndexGenerator extends Object
| Constructor and Description |
|---|
GeonamesIndexGenerator(File sourceFile)
Basic constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
loop(int counter,
boolean print)
Main processing loop for the function
|
static void |
main(String[] args)
Command line entry point.
|
void |
shutdown()
Shutdown function for cleaning up instantiated object.
|
public GeonamesIndexGenerator(File sourceFile) throws Exception
sourceFile - The input file to readException - if any errors occurpublic int loop(int counter, boolean print) throws Exception
counter - The number of rows to execute during this loopprint - Debugging flag to print all data processedException - if any errors occurpublic void shutdown()
public static void main(String[] args) throws IOException
args - Array of String parameters from the command lineIOException