Class FileUtil
- java.lang.Object
-
- org.eclipse.persistence.tools.file.FileUtil
-
public class FileUtil extends Object
INTERNAL: Purpose: Provide common file I/O utilities- Since:
- TopLink 4.5
- Author:
- Steven Vo
-
-
Constructor Summary
Constructors Constructor Description FileUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
copy(InputStream in, OutputStream out)
static void
copy(String inputPath, String outputPath, String[] filteredExtensions)
static void
createJarFromDirectory(String jarFileName, String jarDirectory, String[] filtertedExtensions)
static void
delete(File file)
static Vector
findFiles(String path, String[] filteredExtensions)
-
-
-
Method Detail
-
copy
public static void copy(String inputPath, String outputPath, String[] filteredExtensions) throws IOException
- Throws:
IOException
-
copy
public static void copy(InputStream in, OutputStream out) throws IOException
- Throws:
IOException
-
createJarFromDirectory
public static void createJarFromDirectory(String jarFileName, String jarDirectory, String[] filtertedExtensions) throws IOException
- Throws:
IOException
-
delete
public static void delete(File file)
-
-