com.sun.appserv.management.util.misc
Class FileUtils
java.lang.Object
com.sun.appserv.management.util.misc.FileUtils
public final class FileUtils
- extends Object
The API that should be used to output from a Cmd running within the framework.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fileToString
public static String fileToString(File src)
throws FileNotFoundException,
IOException
- Throws:
FileNotFoundException
IOException
fileToString
public static String fileToString(File src,
int readBufferSize)
throws FileNotFoundException,
IOException
- Throws:
FileNotFoundException
IOException
stringToFile
public static void stringToFile(String s,
File dest)
throws IOException
- Throws:
IOException
Submit a bug or feature Copyright 2006 Sun Microsystems, Inc. All rights reserved.