PrintWriter newOutput(String directoryName, String fileName, String charset)
Returns a PrintWriter instance for the specified file in the specified directory using the specified file encoding. The PrintWriter object is tracked by the CalloutBIC framework and will be properly closed by the cleanup() method. Returns null if the file could not be created.
- directoryName – fully-qualified path for the directory containing the file
- filename – name of the file to be opened
- charset – name of the encoding for the file (e.g., "UTF-8")