|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcgl.util.BootStrap
Holds methods for property file handling.
Community Grids Java Source Package
Provides supporting classess for portal environments.
Copyright (c) 2001-2002 Pervasive Technology Labs
$Id$
Constructor Summary | |
BootStrap()
|
Method Summary | |
static java.util.Properties |
loadProperties(java.lang.String fileName)
Returns the named file as a Property object. |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BootStrap()
Method Detail |
public static java.util.Properties loadProperties(java.lang.String fileName) throws java.lang.Exception
fileName
- name of the file. Either full, or relative to the
current path, or must exist in the classpath or a JAR file.
java.lang.NullPointerException
- if file name is null.
java.lang.Exception
- if file cannot be found or any other IO errors occur.public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |