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 2001/10/22 03:53:27 jon 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 © 2003 Apache Software Foundation. All Rights Reserved.