org.apache.velocity.texen.util

Class FileUtil


public class FileUtil
extends java.lang.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 $

Authors:
Leon Messerschmidt
Jason van Zyl

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).

Method Details

file

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

Parameters:

Returns:
File created file object.


file

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

Parameters:

Returns:
File created file object.


mkdir

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

Parameters:


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