public class FileUtils
extends java.lang.Object
Constructor and Description |
---|
FileUtils(java.lang.String homeDir,
java.lang.String defaultDir,
java.util.Hashtable env) |
Modifier and Type | Method and Description |
---|---|
static java.io.File |
createTempDirectory() |
static java.io.File |
createTempDirectory(java.lang.String pathPrefix) |
boolean |
equals(java.lang.Object obj) |
java.io.File |
getDirectory() |
java.io.File |
getDirectory(java.lang.String path) |
java.io.File |
getDirectory(java.lang.String path,
boolean create) |
java.io.File |
getFile(java.lang.String path) |
java.io.File |
getFile(java.lang.String path,
boolean validate) |
void |
setDirectory(java.io.File dir) |
public FileUtils(java.lang.String homeDir, java.lang.String defaultDir, java.util.Hashtable env)
public java.io.File getDirectory(java.lang.String path) throws java.io.IOException
java.io.IOException
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.io.File getDirectory(java.lang.String path, boolean create) throws java.io.IOException
java.io.IOException
public java.io.File getDirectory()
public void setDirectory(java.io.File dir)
public java.io.File getFile(java.lang.String path) throws java.io.IOException
java.io.IOException
public java.io.File getFile(java.lang.String path, boolean validate) throws java.io.IOException
java.io.IOException
public static java.io.File createTempDirectory(java.lang.String pathPrefix) throws java.io.IOException
java.io.IOException
public static java.io.File createTempDirectory() throws java.io.IOException
java.io.IOException