All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.util.system.Misc

java.lang.Object
   |
   +----semper.util.system.Misc

public class Misc
extends Object
This class provides miscellaneous tools for interaction with the environment. The intention is to provide functionality missing in stock JDK toolkit


Constructor Index

 o Misc()

Method Index

 o reallyDelete(File)
Delete a file/directory.

Constructors

 o Misc
 public Misc()

Methods

 o reallyDelete
 public static boolean reallyDelete(File file)
Delete a file/directory. In the case of a file, this is the same as File#delete. In the case of a directory, this method will result in the removal of all leaf nodes that are files. The directory structure itself is not removed.

Returns:
true if deletion succeeded

All Packages  Class Hierarchy  This Package  Previous  Next  Index