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

## org.apache.texen.util
Class FileUtil

    java.lang.Object
      org.apache.texen.util.FileUtil

public class FileUtil
extends Object

A general file utility for use in the context

Version:
  $Id: FileUtil.java 525422 2007-04-04 05:54:17Z wglass $
Author:
  Leon Messerschmidt, Jason van Zyl

Constructor Summary
`FileUtil()`

Method Summary
`static File` | `file(String s)` A method to get a File object.
`static File` | `file(String base, String s)` A method to get a File object.
`static String` | `mkdir(String s)` Creates the directory s (and any parent directories needed).

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

Constructor Detail

### FileUtil

    public FileUtil()

Method Detail

### mkdir

    public static String mkdir(String s)

  Creates the directory s (and any parent directories needed).

  Parameters:
    `s` - path/directory to create.
  Returns:
    report of path/directory creation.

### file

    public static File file(String s)

  A method to get a File object.

  Parameters:
    `s` - path to file object to create.
  Returns:
    File created file object.

### file

    public static File file(String base,
                            String s)

  A method to get a File object.

  Parameters:
    `base` - base path
    `s` - file name
  Returns:
    File created file object.

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

Copyright © 2000-${build.year} Apache Software Foundation. All Rights Reserved.