|
JCas v0.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cas.util.MiscUtils
Misc utility functions.
Constructor Summary | |
MiscUtils()
|
Method Summary | |
static Properties |
loadProperties(File file)
Loads a property file. |
static void |
loadProperties(Properties props,
File file)
Loads a property file. |
static void |
loadProperties(Properties props,
String file)
Loads a property file. |
static Properties |
loadProperties(String file)
Loads a property file. |
static void |
storeProperties(Properties props,
File file)
Stores a property file. |
static void |
storeProperties(Properties props,
String file)
Stores a property file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MiscUtils()
Method Detail |
public static Properties loadProperties(File file) throws IOException
file
- the file to load
IOException
public static Properties loadProperties(String file) throws IOException
file
- the file to load
IOException
public static void loadProperties(Properties props, File file) throws IOException
props
- the properties objectfile
- the file to load
IOException
public static void loadProperties(Properties props, String file) throws IOException
props
- the properties objectfile
- the file to load
IOException
public static void storeProperties(Properties props, File file) throws IOException
props
- the properties objectfile
- the file to load
IOException
public static void storeProperties(Properties props, String file) throws IOException
props
- the properties objectfile
- the file to load
IOException
|
JCas v0.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |