public final class IOHelpers
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) static java.lang.String |
COPYRIGHT |
Modifier | Constructor and Description |
---|---|
private |
IOHelpers()
Private ctor to prevent instatiation, this is a static class.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getFileContent(java.lang.String theFileName)
Reads the contents of a file and returns it as a String.
|
static final java.lang.String COPYRIGHT
private IOHelpers()
public static java.lang.String getFileContent(java.lang.String theFileName) throws java.io.IOException
theFileName
- file name to readjava.io.IOException