com.valhalla.misc
Class MiscUtils

java.lang.Object
  extended bycom.valhalla.misc.MiscUtils

public class MiscUtils
extends java.lang.Object

Miscellaneous tools good for any application

Author:
synic

Constructor Summary
MiscUtils()
           
 
Method Summary
static void recursivelyDeleteDirectory(java.lang.String dir)
          Deletes a directory, and all the files in it
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MiscUtils

public MiscUtils()
Method Detail

recursivelyDeleteDirectory

public static void recursivelyDeleteDirectory(java.lang.String dir)
                                       throws java.lang.Exception
Deletes a directory, and all the files in it

Parameters:
dir - the directory to delete
Throws:
java.lang.Exception - thrown if there is an error deleting the dir