/**
* A component of a library for
* MoSeS
* Copyright (C) 2006
* Andy Turner,
* University of Leeds.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*/
package uk.ac.leeds.ccg.andyt.projects.moses.io;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
/**
* Abstract class for handling data output.
*/
public abstract class AbstractOutputDataHandler extends AbstractCASDataHandler {
/**
* File for writing output to.
*/
protected File _OutputFile;
/**
* FileOutputStream for _OutputFile.
*/
protected FileOutputStream _FileOutputStream;
/**
* ToyModelDataHandler.
*/
protected ToyModelDataHandler _ToyModelDataHandler;
/**
* CASDataHandler.
*/
protected CASDataHandler _CASDataHandler;
/**
* CASDataHandler_GA_IPS.
*/
protected CASDataHandler_GA_IPS _CASDataHandler_1;
/** Required method */
@Override
public AbstractCASDataRecord getDataRecord(long RecordID) {
return null;
}
/**
* Writes out header.
*/
public abstract void writeHeader() throws IOException;
public abstract void writeObserved(
String _CASDataDirectory,
String _OutputFileName,
long _StartRecordID,
long _EndRecordID,
String _AreaLevel,
ISARDataHandler tISARDataHandler)
throws IOException;
public abstract void writeEstimated_HSARHP(
File _InputFile,
File _OutputFile,
String _Aggregation)
throws IOException;
// /**
// * Writes _Counts for _ZoneCode
// */
// protected abstract void write(
// Counts _Counts,
// String _ZoneCode )
// throws IOException;
public abstract class Counts {
}
}