package basics.integrators;

import java.io.File;
import java.util.Calendar;
import java.util.Date;

/**
 * This interface is inteded for integrating some kind of table sheet writer into a project.
 * An implemention of this can be found in my poiadapter, which wraps functionality of the POI project.
 * To use an implementation of this interface you must put the involved jar available an bind the intergrator using
 * the Binder. The can be resolved by interface, if there is only one implementation for this interface. Otherwise
 * bind by name.  
 * @author ks
 *
 */
public interface SequentialTableSheetWriter
{
public void setFile(File file);

public String getName();

public void nextSheet(String name);

public int nextRow();

public void nextCell(String value);

public void nextCell(double value);

public void nextCell(long value);

public void nextCell(boolean value);

public void nextCell(Calendar value);

public void nextCell(Date value);

public boolean save();

public void style(String style);
}
