Class FileUtil

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

public class FileUtil extends Object
A general file utility for use in the context
Version:
$Id: FileUtil.java 463298 2006-10-12 16:10:32Z henning $
Author:
Leon Messerschmidt, Jason van Zyl
  • Constructor Details

    • FileUtil

      public FileUtil()
  • Method Details

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