java.lang.Object | +--unit.FileRedirection
Just a helper class, that allows simple inclusion of files into the output of a UniT.
Opens a file specified by the passed name and directs its content to the passed Writer object, that could be the predefined out object of UniT.
|Methods inherited from class java.lang.Object|
public static void redirectFileToWriter(java.lang.String fileName, java.io.Writer target) throws java.io.FileNotFoundException, java.io.IOException
fileName- the name of the file, that should be redirected
target- the Writer object, to which the file content should be directed, usually the predefined out object of UniT.