com.hrstc.utils
Class FileUtils

java.lang.Object
  extended by com.hrstc.utils.FileUtils

public class FileUtils
extends java.lang.Object

Author:
wani

Constructor Summary
FileUtils()
          Creates a new instance of FileUtils
 
Method Summary
static java.io.File copy(java.lang.String inFileName, java.lang.String outFileName)
           
static java.lang.String fileToString(java.lang.String inFileName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileUtils

public FileUtils()
Creates a new instance of FileUtils

Method Detail

copy

public static java.io.File copy(java.lang.String inFileName,
                                java.lang.String outFileName)
                         throws java.io.IOException
Returns:
copy of a file
Throws:
java.io.IOException

fileToString

public static java.lang.String fileToString(java.lang.String inFileName)
                                     throws java.io.IOException
Throws:
java.io.IOException