org.hibernate.spatial.helper
Class PropertyFileReader

java.lang.Object
  extended by org.hibernate.spatial.helper.PropertyFileReader

public class PropertyFileReader
extends java.lang.Object

Helper class to read settings and properties files.


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

Constructor Detail

PropertyFileReader

public PropertyFileReader(java.io.InputStream is)
Method Detail

getProperties

public java.util.Properties getProperties()
                                   throws java.io.IOException
Throws:
java.io.IOException

getNonCommentLines

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

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

close

public void close()