com.twitter.common.util
Class FileUtils

java.lang.Object
  extended by com.twitter.common.util.FileUtils

public final class FileUtils
extends Object

Utilities for working with Files


Method Summary
static boolean forceDeletePath(File path)
          recursively deletes the path and all it's content and returns true if it succeeds Note that the content could be partially deleted and the method return false
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

forceDeletePath

public static boolean forceDeletePath(File path)
recursively deletes the path and all it's content and returns true if it succeeds Note that the content could be partially deleted and the method return false

Parameters:
path - the path to delete
Returns:
true if the path was deleted