org.apache.velocity.texen.util

Class FileUtil

public class FileUtil extends Object

A general file utility for use in the context

Version: $Id: FileUtil.java,v 1.9.8.1 2004/03/03 23:23:07 geirm Exp $

Author: Leon Messerschmidt Jason van Zyl

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

Method Detail

file

public static File file(String s)
A method to get a File object.

Parameters: String 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: String base path String file name

Returns: File created file object.

mkdir

public static String mkdir(String s)
Creates the directory s (and any parent directories needed).

Parameters: String path/directory to create. String report of path/directory creation.

Copyright B) 2002 Apache Software Foundation. All Rights Reserved.