|
WEBsina Software | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.websina.util.FileUtil
This is utility class to load a file.
Constructor Summary | |
FileUtil(java.io.InputStream is)
|
|
FileUtil(java.lang.String filename)
|
Method Summary | |
void |
read(java.util.List names,
java.util.Properties prop)
The method loads the file (properties file) into a property names List object and a Properties object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FileUtil(java.lang.String filename)
filename
- the file name, it must be in the classpath.public FileUtil(java.io.InputStream is)
is
- InputStream to be read.Method Detail |
public void read(java.util.List names, java.util.Properties prop) throws java.io.IOException
names
- the properties name list.prop
- the Properties itself.
java.io.IOException
|
WEBsina Software | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |