org.apache.velocity.texen.util
Class FileUtil

java.lang.Object
  extended byorg.apache.velocity.texen.util.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 $
Author:
Leon Messerschmidt, Jason van Zyl

Constructor Summary
FileUtil()
           
 
Method Summary
static java.io.File file(java.lang.String s)
          A method to get a File object.
static java.io.File file(java.lang.String base, java.lang.String s)
          A method to get a File object.
static java.lang.String mkdir(java.lang.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 java.lang.String mkdir(java.lang.String s)
Creates the directory s (and any parent directories needed).


file

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

Returns:
File created file object.

file

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

Returns:
File created file object.


Copyright ? 2002 Apache Software Foundation. All Rights Reserved.