Package org.wso2.carbon.utils
Class FileUtil
- java.lang.Object
-
- org.wso2.carbon.utils.FileUtil
-
public class FileUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description FileUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleancopyDirectory(File srcDir, File destDir)static StringreadFileToString(String path)
-
-
-
Method Detail
-
copyDirectory
public static boolean copyDirectory(File srcDir, File destDir) throws IOException
- Throws:
IOException
-
readFileToString
public static String readFileToString(String path) throws IOException
- Throws:
IOException
-
-