Skip to content

Instantly share code, notes, and snippets.

@pk11
Created May 19, 2010 03:41
Show Gist options
  • Save pk11/405921 to your computer and use it in GitHub Desktop.
Save pk11/405921 to your computer and use it in GitHub Desktop.
import static com.my.utils.FileUtilities.*;
/**
* Demonstrating how to use FileUtilities http://gist.github.com/405510
* and IOUtilities http://bit.ly/dc9vn4
**/
public void fileUtilDemo() throws java.io.IOException {
String content = readFileAsString("myfile.txt");
deleteDirectory("images"); //deletes directory recursively
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment