4
import java.io.FileWriter;
5
import java.io.IOException;
7
public class FileHelper
9
public static void writeFile( String fileName, String content )
13
File target = new File( "target" ).getAbsoluteFile();
14
File listenerOutput = new File( target, fileName );
15
FileWriter out = new FileWriter( listenerOutput );
20
catch ( IOException e )
22
throw new RuntimeException( e );