org.wso2.carbon.utils
Class FileUtil

java.lang.Object
  extended by org.wso2.carbon.utils.FileUtil

public class FileUtil
extends Object


Constructor Summary
FileUtil()
           
 
Method Summary
static boolean copyDirectory(File srcDir, File destDir)
           
static String readFileToString(String path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileUtil

public FileUtil()
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


Copyright © 2014 WSO2 Inc. All rights reserved.