org.apache.openejb.loader
Class FileUtils
java.lang.Object
org.apache.openejb.loader.FileUtils
public class FileUtils
- extends Object
FileUtils
public FileUtils(String homeDir,
String defaultDir,
Hashtable env)
getDirectory
public File getDirectory(String path)
throws IOException
- Throws:
IOException
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
getDirectory
public File getDirectory(String path,
boolean create)
throws IOException
- Throws:
IOException
getDirectory
public File getDirectory()
setDirectory
public void setDirectory(File dir)
getFile
public File getFile(String path)
throws FileNotFoundException,
IOException
- Throws:
FileNotFoundException
IOException
getFile
public File getFile(String path,
boolean validate)
throws FileNotFoundException,
IOException
- Throws:
FileNotFoundException
IOException
createTempDirectory
public static File createTempDirectory(String pathPrefix)
throws IOException
- Throws:
IOException
createTempDirectory
public static File createTempDirectory()
throws IOException
- Throws:
IOException
copyFile
public static void copyFile(File destination,
File source)
throws IOException
- Throws:
IOException
copyFile
public static void copyFile(File destination,
File source,
boolean deleteSourceFile)
throws IOException
- Throws:
IOException
Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.