src/org/kocakosm/pitaya/io/TextFiles.java
public static BufferedWriter newWriter(File f, WriteOption... options)
		throws IOException
	{
		return newWriter(f, Charsets.DEFAULT, options);
	}
public static BufferedWriter newWriter(File f, WriteOption... options)
		throws IOException
	{
		return newWriter(f, Charsets.DEFAULT, options);
	}
public static BufferedWriter newWriter ( File f , WriteOption ... options ) throws IOException { return newWriter ( f , Charsets . DEFAULT , options ) ; }
Returns a new {@code BufferedWriter} to write to the given
{@code File} using the system's default charset.

@param f the file to write to.
@param options the write options.

@return a {@code BufferedWriter} to write to the given {@code File}.

@throws NullPointerException if one of the arguments is {@code null}.
@throws IllegalArgumentException if incompatible options are given.
@throws FileNotFoundException if {@code f} exists but is a directory
rather than a regular file, or if it does not exist but cannot
be created, or if it cannot be opened for any other reason.
@throws IOException if the {@link WriteOption#CREATE} option is given
and the specified file already exists.
@throws SecurityException if a security manager exists and denies
write access to {@code f}.
Returns a new { @code BufferedWriter } to write to the given { @code File } using the system s default charset .