edu.jhu.nlp.util
Class FileUtil

java.lang.Object
  extended by edu.jhu.nlp.util.FileUtil

public class FileUtil
extends java.lang.Object

A miscellaneous collection of file utilities


Constructor Summary
FileUtil()
           
 
Method Summary
static java.lang.String readFile(java.lang.String fileName)
          Read contents of a file into a string.
 
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

readFile

public static java.lang.String readFile(java.lang.String fileName)
Read contents of a file into a string.

Parameters:
file -
Returns:
file contents.