com.github.searls.jasmine.io
Class FileUtilsWrapper
java.lang.Object
com.github.searls.jasmine.io.FileUtilsWrapper
public class FileUtilsWrapper
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileUtilsWrapper
public FileUtilsWrapper()
readFileToString
public String readFileToString(File file)
throws IOException
- Throws:
IOException
forceMkdir
public void forceMkdir(File file)
throws IOException
- Throws:
IOException
listFiles
public Collection<File> listFiles(File file,
String[] extensions,
boolean recursive)
writeStringToFile
public void writeStringToFile(File file,
String data,
String encoding)
throws IOException
- Throws:
IOException
copyDirectory
public void copyDirectory(File srcDir,
File destDir,
org.apache.commons.io.filefilter.IOFileFilter filter)
throws IOException
- Throws:
IOException
Copyright © 2012. All Rights Reserved.