|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.evanmclean.evlib.util.FileProperties
public final class FileProperties
Load properties object from a file.
Method Summary | |
---|---|
static Properties |
load(File file)
Create a new properties object which has been loaded from the specified file. |
static void |
load(Properties props,
File file)
Load the properties from the specified file. |
static void |
load(Properties props,
String file_name)
Load the properties from the specified file. |
static Properties |
load(String file_name)
Create a new properties object which has been loaded from the specified file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Properties load(File file) throws IOException
file
-
IOException
public static void load(Properties props, File file) throws IOException
props
- file
-
IOException
public static void load(Properties props, String file_name) throws IOException
props
- file_name
-
IOException
public static Properties load(String file_name) throws IOException
file_name
-
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |