|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.velocity.texen.util.FileUtil
public class FileUtil
A general file utility for use in the context
Constructor Summary | |
---|---|
FileUtil()
|
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). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileUtil()
Method Detail |
---|
public static String mkdir(String s)
s
- path/directory to create.
public static File file(String s)
s
- path to file object to create.
public static File file(String base, String s)
base
- base paths
- file name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |