org.geotools.referencing.factory.epsg
Class SqlScriptReader

java.lang.Object
  extended by org.geotools.referencing.factory.epsg.SqlScriptReader

public class SqlScriptReader
extends java.lang.Object

Reads a multiline SQL file extracting each command separately. Skips empty lines, assumes comments start with "--" and are on their own line


Constructor Summary
SqlScriptReader(java.io.Reader reader)
           
 
Method Summary
 void dispose()
           
 boolean hasNext()
           
 java.lang.String next()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SqlScriptReader

public SqlScriptReader(java.io.Reader reader)
Method Detail

hasNext

public boolean hasNext()
                throws java.io.IOException
Throws:
java.io.IOException

next

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

dispose

public void dispose()


Copyright © 1996-2010 Geotools. All Rights Reserved.