dss/src/test/java/gov/samhsa/c2s/dss/service/FileHelper.java
public static void writeStringToFile(String stringContent, String fileName)
            throws Exception {

        PrintWriter printOut = new PrintWriter("c:\\temp\\" + fileName);
        printOut.println(stringContent);
        printOut.close();
    }
/**
     * *****************************************
     * Output string to file
     * ******************************************.
     *
     * @param stringContent the string content
     * @param fileName the file name
     * @throws Exception the exception
     */
Output string to file
.

@param stringContent the string content
@param fileName the file name
@throws Exception the exception
Output string to file . @param stringContent the string content @param fileName the file name @throws Exception the exception
public static void writeStringToFile(String stringContent, String fileName)
            throws Exception {
        PrintWriter printOut = new PrintWriter("c:\\temp\\" + fileName);
        printOut.println(stringContent);
        printOut.close();
    }
public static void writeStringToFile ( String stringContent , String fileName ) throws Exception { PrintWriter printOut = new PrintWriter ( "c:\\temp\\" + fileName ) ; printOut . println ( stringContent ) ; printOut . close ( ) ; }
Output string to file
 ******************************************.
Output string to file ****************************************** .