EclipseLink 2.2.0, build 'v20110202-r8913' API Reference

org.eclipse.persistence.tools.file
Class FileUtil

java.lang.Object
  extended by org.eclipse.persistence.tools.file.FileUtil

public class FileUtil
extends java.lang.Object

INTERNAL: Purpose: Provide common file I/O utilities

Author:
Steven Vo
Since:
TopLink 4.5

Constructor Summary
FileUtil()
           
 
Method Summary
static void copy(java.io.InputStream in, java.io.OutputStream out)
           
static void copy(java.lang.String inputPath, java.lang.String outputPath, java.lang.String[] filteredExtensions)
           
static void createJarFromDirectory(java.lang.String jarFileName, java.lang.String jarDirectory, java.lang.String[] filtertedExtensions)
           
static void delete(java.io.File file)
           
static java.util.Vector findFiles(java.lang.String path, java.lang.String[] filteredExtensions)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileUtil

public FileUtil()
Method Detail

copy

public static void copy(java.lang.String inputPath,
                        java.lang.String outputPath,
                        java.lang.String[] filteredExtensions)
                 throws java.io.IOException
Throws:
java.io.IOException

copy

public static void copy(java.io.InputStream in,
                        java.io.OutputStream out)
                 throws java.io.IOException
Throws:
java.io.IOException

createJarFromDirectory

public static void createJarFromDirectory(java.lang.String jarFileName,
                                          java.lang.String jarDirectory,
                                          java.lang.String[] filtertedExtensions)
                                   throws java.io.IOException
Throws:
java.io.IOException

findFiles

public static java.util.Vector findFiles(java.lang.String path,
                                         java.lang.String[] filteredExtensions)

delete

public static void delete(java.io.File file)

EclipseLink 2.2.0, build 'v20110202-r8913' API Reference