FileHelper (RabbIT/4)
Date: 2009-12-20

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## rabbit.io
Class FileHelper

    java.lang.Object
      rabbit.io.FileHelper

    public class FileHelper

extends Object

Helper class for common file operations.

Author:
  Robert Olofsson

Constructor Summary
`FileHelper()`

Method Summary
`static void` | `delete(File toDelete)` Try to delete a file.
`static void` | `mkdirs(File newDir)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### FileHelper

    public FileHelper()

Method Detail

### delete

    public static void delete(File toDelete)
                       throws IOException

  Try to delete a file.

  Parameters:
    `toDelete` - the file to delete
  Throws:
    `NullPointerException` - if toDelete is null
    `IOException` - if file deletion failed

### mkdirs

    public static void mkdirs(File newDir)
                       throws IOException

  Throws:
    `IOException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD