org.apache.openejb.loader
Class FileUtils
java.lang.Object
org.apache.openejb.loader.FileUtils
public class FileUtils
- extends java.lang.Object
Constructor Summary |
FileUtils(java.lang.String homeDir,
java.lang.String defaultDir,
java.util.Hashtable env)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileUtils
public FileUtils(java.lang.String homeDir,
java.lang.String defaultDir,
java.util.Hashtable env)
getDirectory
public java.io.File getDirectory(java.lang.String path)
throws java.io.IOException
- Throws:
java.io.IOException
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
getDirectory
public java.io.File getDirectory(java.lang.String path,
boolean create)
throws java.io.IOException
- Throws:
java.io.IOException
getDirectory
public java.io.File getDirectory()
setDirectory
public void setDirectory(java.io.File dir)
getFile
public java.io.File getFile(java.lang.String path)
throws java.io.FileNotFoundException,
java.io.IOException
- Throws:
java.io.FileNotFoundException
java.io.IOException
getFile
public java.io.File getFile(java.lang.String path,
boolean validate)
throws java.io.FileNotFoundException,
java.io.IOException
- Throws:
java.io.FileNotFoundException
java.io.IOException
createTempDirectory
public static java.io.File createTempDirectory(java.lang.String pathPrefix)
throws java.io.IOException
- Throws:
java.io.IOException
createTempDirectory
public static java.io.File createTempDirectory()
throws java.io.IOException
- Throws:
java.io.IOException
copyFile
public static void copyFile(java.io.File destination,
java.io.File source)
throws java.io.IOException
- Throws:
java.io.IOException
copyFile
public static void copyFile(java.io.File destination,
java.io.File source,
boolean deleteSourceFile)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.