/*
 * Created on 2004-08-30
 *
 * Part of the Symbian development plug-in for Eclipse
 * Copyright (C) Mikołaj Zalewski, 2004
 */
package pl.zalewski.mikolaj.symbdev.skins;

import java.io.BufferedWriter;
import java.io.IOException;

/**
 * This class writes the comment at the beginning of the epoc.eclipse.ini
 * file informing the user what this file is;
 * 
 * @author mikolaj
 */
public class FirstCommentWriter implements IWriterRule {

    /**
     * Default constructor 
     */
    public FirstCommentWriter() {
        super();
    }

    /**
     * Writes the comment
     * @see pl.zalewski.mikolaj.symbdev.skins.IWriterRule#write(java.io.Writer)
     */
    public void write(BufferedWriter writer)
    	throws IOException
    {
        writer.write("# File generated automatically by the Symbian development plug-in");
        writer.newLine();
        writer.write("# for Eclipse by changing settings from the epoc.ini file.");        
        writer.newLine();
        writer.write("# Don't modify as changes will be overwritten");        
        writer.newLine();
        writer.newLine();
    }

}
