org.objectweb.cjdbc.common.util
Class FileManagement

java.lang.Object
  extended byorg.objectweb.cjdbc.common.util.FileManagement

public class FileManagement
extends java.lang.Object

This class defines a FileManagement that provides tools to manage files and directories.

Version:
1.0
Author:
Emmanuel Cecchet

Constructor Summary
FileManagement()
           
 
Method Summary
static boolean deleteDir(java.io.File dir)
          Delete a directory by deleting recursively all sub files.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileManagement

public FileManagement()
Method Detail

deleteDir

public static final boolean deleteDir(java.io.File dir)
Delete a directory by deleting recursively all sub files.

Parameters:
dir - directoty to delete
Returns:
true if success, false otherwise


Copyright © 2002, 2005 - ObjectWeb Consortium - All Rights Reserved.