org.hibernatespatial.helper
Class PropertyFileReader

java.lang.Object
  extended by org.hibernatespatial.helper.PropertyFileReader

public class PropertyFileReader
extends Object

Helper class to read settings and properties files.

Author:
Karel Maesen

Constructor Summary
PropertyFileReader(InputStream is)
           
 
Method Summary
 void close()
           
 Set<String> getNonCommentLines()
          Returns the non-comment lines in a file.
 Properties getProperties()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyFileReader

public PropertyFileReader(InputStream is)
Method Detail

getProperties

public Properties getProperties()
                         throws IOException
Throws:
IOException

getNonCommentLines

public Set<String> getNonCommentLines()
                               throws IOException
Returns the non-comment lines in a file.

Returns:
set of non-comment strings.
Throws:
IOException

close

public void close()


Copyright © 2011 hibernatespatial.org. All Rights Reserved.