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

## jchrest.lib
Class FileUtilities

    java.lang.Object
      jchrest.lib.FileUtilities

    public class FileUtilities

extends java.lang.Object

A collection of static methods used when handling files

Constructor Summary
`FileUtilities()`

Method Summary
`static java.io.File` | `getLoadFilename(java.awt.Component parent)` Get a filename to load from.
`static java.io.File` | `getSaveFilename(java.awt.Component parent)` Request user for a filename to save to.
`static java.io.File` | `getSaveFilename(java.awt.Component parent, java.lang.String title)` Request user for a filename to save to.

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

Constructor Detail

### FileUtilities

    public FileUtilities()

Method Detail

### getSaveFilename

    public static java.io.File getSaveFilename(java.awt.Component parent)

  Request user for a filename to save to. Argument 'parent' centres the dialog on the given component.

### getSaveFilename

    public static java.io.File getSaveFilename(java.awt.Component parent,
                                               java.lang.String title)

  Request user for a filename to save to. Argument 'parent' centres the dialog on the given component. Argument 'title' gives a title for the dialog.

### getLoadFilename

    public static java.io.File getLoadFilename(java.awt.Component parent)

  Get a filename to load from.

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