org.eaglei.datatools.interim.cores
Class OldFileUtils

java.lang.Object
  extended by org.eaglei.datatools.interim.cores.OldFileUtils

Deprecated. -- to replace with apache iocommons utilities

public class OldFileUtils
extends java.lang.Object

Author:
dbw

Constructor Summary
OldFileUtils()
          Deprecated.  
 
Method Summary
static java.util.List<java.io.File> getAllFiles(java.io.File inputDir)
          Deprecated. return a List of all files in input directory (recursively looking into subdirectories)
static void validateDirectory(java.io.File dir, boolean create)
          Deprecated. Directory is valid if it exists, does not represent a file, and can be read.
static void validateDirectory(java.lang.String dirString, boolean create)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OldFileUtils

public OldFileUtils()
Deprecated. 
Method Detail

getAllFiles

public static java.util.List<java.io.File> getAllFiles(java.io.File inputDir)
                                                throws java.io.FileNotFoundException
Deprecated. 
return a List of all files in input directory (recursively looking into subdirectories)

Parameters:
inputDir - a valid directory, which can be read.
Throws:
java.io.FileNotFoundException

validateDirectory

public static void validateDirectory(java.lang.String dirString,
                                     boolean create)
                              throws java.io.FileNotFoundException
Deprecated. 
Throws:
java.io.FileNotFoundException

validateDirectory

public static void validateDirectory(java.io.File dir,
                                     boolean create)
                              throws java.io.FileNotFoundException
Deprecated. 
Directory is valid if it exists, does not represent a file, and can be read.

Parameters:
dir -
create - - if the directory doesn't exist, create it
Throws:
java.io.FileNotFoundException


Copyright © 2009-2011 Eagle-I. All Rights Reserved.