org.fudaa.dodico.reflux.io.RefluxSolutionInitFileFormat Maven / Gradle / Ivy
/**
* @creation 15 mars 2004
* @modification $Date: 2006-11-15 09:22:53 $
* @license GNU General Public License 2
* @copyright (c)1998-2001 CETMEF 2 bd Gambetta F-60231 Compiegne
* @mail [email protected]
*/
package org.fudaa.dodico.reflux.io;
import org.fudaa.ctulu.fileformat.FileFormatUnique;
import org.fudaa.ctulu.fileformat.FileReadOperationAbstract;
import org.fudaa.ctulu.fileformat.FileWriteOperationAbstract;
/**
* @author Fred Deniger
* @version $Id: RefluxSolutionInitFileFormat.java,v 1.10 2006-11-15 09:22:53 deniger Exp $
*/
public final class RefluxSolutionInitFileFormat extends FileFormatUnique {
private final static RefluxSolutionInitFileFormat INSTANCE = new RefluxSolutionInitFileFormat();
/**
* @return singleton
*/
public static RefluxSolutionInitFileFormat getInstance() {
return INSTANCE;
}
/**
* Initialise les donnees.
*/
public RefluxSolutionInitFileFormat() {
super(1);
extensions_ = new String[] { "siv" };
}
/**
* @see org.fudaa.ctulu.fileformat.FileFormatVersion#createReader()
*/
@Override
public FileReadOperationAbstract createReader() {
return new RefluxSolutionInitReader();
}
/**
* @see org.fudaa.ctulu.fileformat.FileFormatVersion#createWriter()
*/
@Override
public FileWriteOperationAbstract createWriter() {
return new RefluxSolutionInitWriter();
}
}