org.apache.lucene.benchmark

Class AbstractBenchmarker

Implemented Interfaces:
Benchmarker
Known Direct Subclasses:
StandardBenchmarker

public abstract class AbstractBenchmarker
extends Object
implements Benchmarker

Method Summary

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

Method Details

fullyDelete

public static boolean fullyDelete(File dir)
            throws IOException
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

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