credentialProvider/src/main/java/nl/nn/credentialprovider/util/Misc.java
/**
	 * Writes the string to a file.
	 */
Writes the string to a file.
Writes the string to a file .
public static void stringToFile(String string, String fileName) throws IOException {
		try (FileWriter fw = new FileWriter(fileName)) {
			fw.write(string);
		}
	}
public static void stringToFile ( String string , String fileName ) throws IOException { try ( FileWriter fw = new FileWriter ( fileName ) ) { fw . write ( string ) ; } }
Writes the string to a file.
Writes the string to a file .