org.apache.jetspeed.util
Class DirectoryUtils

java.lang.Object
  extended byorg.apache.jetspeed.util.DirectoryUtils

public class DirectoryUtils
extends Object


Field Summary
private static org.apache.commons.logging.Log log
           
 
Constructor Summary
DirectoryUtils()
           
 
Method Summary
static void main(String[] args)
           
static boolean rmdir(File dir)
          Removes a directory and all subdirectories and files beneath it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static final org.apache.commons.logging.Log log
Constructor Detail

DirectoryUtils

public DirectoryUtils()
Method Detail

main

public static void main(String[] args)

rmdir

public static final boolean rmdir(File dir)
Removes a directory and all subdirectories and files beneath it.

Returns:
boolean If all went successful, returns true, otherwise false.


Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.