|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.server.servlets.FileUtil
public class FileUtil
File Utility Class
Method Summary | |
---|---|
static void |
close(java.io.BufferedReader br)
Closes the BufferedReader |
static void |
close(java.io.BufferedWriter bw)
Closes the BufferedWriter |
static java.io.File |
getFile(java.lang.String f)
Returns an instance of a File |
static java.io.FileInputStream |
getFileInputStream(java.lang.String f)
Returns an instance of a FileInputStream |
static java.util.Properties |
loadProperties(java.lang.String f)
Returns an instance of a Property |
static java.io.BufferedReader |
openInputFile(java.io.File f)
Returns an instance of a BufferedReader |
static java.io.BufferedWriter |
openOutputFile(java.io.File f)
Returns an instance of a BufferedWriter |
static void |
println(java.io.BufferedWriter bw,
java.lang.Object o)
println() Method Appends the object to the BufferedWriter |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.io.File getFile(java.lang.String f)
public static java.util.Properties loadProperties(java.lang.String f) throws net.server.servlets.PropFileException
net.server.servlets.PropFileException
public static java.io.FileInputStream getFileInputStream(java.lang.String f) throws java.io.FileNotFoundException, java.io.IOException
java.io.FileNotFoundException
java.io.IOException
public static java.io.BufferedReader openInputFile(java.io.File f) throws java.io.FileNotFoundException, java.io.IOException
java.io.FileNotFoundException
java.io.IOException
public static java.io.BufferedWriter openOutputFile(java.io.File f) throws java.io.FileNotFoundException, java.io.IOException
java.io.FileNotFoundException
java.io.IOException
public static void close(java.io.BufferedReader br)
public static void close(java.io.BufferedWriter bw)
public static void println(java.io.BufferedWriter bw, java.lang.Object o)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |