org.hibernate.spatial.helper
Class PropertyFileReader
java.lang.Object
org.hibernate.spatial.helper.PropertyFileReader
public class PropertyFileReader
- extends java.lang.Object
Helper class to read settings and properties files.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyFileReader
public PropertyFileReader(java.io.InputStream is)
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()