ca.uottawa.balie
Class FileHandler

java.lang.Object
  extended by ca.uottawa.balie.FileHandler

public class FileHandler
extends java.lang.Object

Simple file loader

Author:
nadeaud

Method Summary
static java.lang.String GetTextFileContent(java.lang.String pi_Filename, java.lang.String pi_Encoding)
          Loads a file from disk with a specified charset.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

GetTextFileContent

public static java.lang.String GetTextFileContent(java.lang.String pi_Filename,
                                                  java.lang.String pi_Encoding)
Loads a file from disk with a specified charset.

Parameters:
pi_Filename - File to read
pi_Encoding - File encoding (See Balie class for encoding choices)
Returns:
The file content (String)
See Also:
Balie