|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.persistence.common.database.PropertyHelper
public class PropertyHelper
| Constructor Summary | |
|---|---|
PropertyHelper()
|
|
| Method Summary | |
|---|---|
static void |
loadFromFile(java.util.Properties properties,
java.lang.String fileName)
Loads properties list from the specified file into specified Properties object. |
static void |
loadFromResource(java.util.Properties properties,
java.lang.String resourceName,
java.lang.ClassLoader classLoader)
Loads properties list from the specified resource into specified Properties object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyHelper()
| Method Detail |
|---|
public static void loadFromResource(java.util.Properties properties,
java.lang.String resourceName,
java.lang.ClassLoader classLoader)
throws java.io.IOException
properties - Properties object to loadresourceName - Name of resource.classLoader - The class loader that should be used to load the resource. If null,primordial
class loader is used.
java.io.IOException
public static void loadFromFile(java.util.Properties properties,
java.lang.String fileName)
throws java.io.IOException
properties - Properties object to loadfileName - Fully qualified path name to the file.
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||