com.appfoundation.automation.util
Class FileUtils

java.lang.Object
  extended by com.appfoundation.automation.util.FileUtils

public class FileUtils
extends java.lang.Object

FileUtils

This class contains static utility methods for common file I/O activities

Author:
john.valentino

Constructor Summary
FileUtils()
           
 
Method Summary
static java.io.File classpathItemToFile(java.lang.String fullPath)
          Takes an item on the classpath and converts it to a temporary file
static java.io.File createTemporaryPropertiesFile(java.lang.String[] names, java.lang.String[] values)
           
static java.util.List<java.lang.String> filetoList(java.io.File input)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileUtils

public FileUtils()
Method Detail

classpathItemToFile

public static java.io.File classpathItemToFile(java.lang.String fullPath)
                                        throws java.lang.Exception
Takes an item on the classpath and converts it to a temporary file

Parameters:
fullPath -
Returns:
Throws:
java.lang.Exception

filetoList

public static java.util.List<java.lang.String> filetoList(java.io.File input)
                                                   throws java.lang.Exception
Throws:
java.lang.Exception

createTemporaryPropertiesFile

public static java.io.File createTemporaryPropertiesFile(java.lang.String[] names,
                                                         java.lang.String[] values)