public static Writer writer(File file) {
        try {
            return new FileWriter(file);
        } catch (IOException e) {
            throw E.ioException(e);
        }
    }
public static Writer writer ( File file ) { try { return new FileWriter ( file ) ; } catch ( IOException e ) { throw E . ioException ( e ) ; } }
Returns a file writer

@param file
the file to be written
@return a writer