saveFile

public static void saveFile(String str, String filePath)

Saves a string to the specified file path.

Parameters

str

the string to save

filePath

destination file path