public class PropertiesFile extends Object
Constructor and Description |
---|
PropertiesFile() |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears this hashtable.
|
String |
getProperty(String property) |
void |
loadInputStream(String srcFile)
External.
|
void |
loadResourceAsStream(String srcFile)
Internal.
|
void |
setProperties(Properties properties) |
public final void loadInputStream(String srcFile) throws IOException
srcFile
- the srcFile to loadIOException
- exceptionpublic final void loadResourceAsStream(String srcFile) throws IOException
srcFile
- the srcFile to loadIOException
- exceptionpublic final void setProperties(Properties properties)
properties
- the properties to setpublic final String getProperty(String property)
property
- the property to getpublic final void clear()
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.