com.cassinidivision.core.cassinijava
Class FileIOHelper

java.lang.Object
  extended bycom.cassinidivision.core.cassinijava.FileIOHelper

public class FileIOHelper
extends Object

A collection of miscellaneous file utilities.


Constructor Summary
FileIOHelper()
           
 
Method Summary
static void writeStringToFile(String s, String path)
          Write the contents of a string into a file at the path specified.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileIOHelper

public FileIOHelper()
Method Detail

writeStringToFile

public static void writeStringToFile(String s,
                                     String path)
                              throws IOException
Write the contents of a string into a file at the path specified.

Parameters:
s - The string to be written.
path - The location of the file containing the string.
Throws:
RuntimeException - A problem occurred during the operation.
IOException