org.apache.lucene.benchmark.byTask.utils

Class FileUtils

public class FileUtils extends Object

File utilities.
Method Summary
static booleanfullyDelete(File dir)
Delete files and directories, even if non-empty.

Method Detail

fullyDelete

public static boolean fullyDelete(File dir)
Delete files and directories, even if non-empty.

Parameters: dir file or directory

Returns: true on success, false if no or part of files have been deleted

Throws: java.io.IOException

Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.