|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.ac.leeds.ccg.andyt.projects.moses.utilities.AbstractLog uk.ac.leeds.ccg.andyt.projects.moses.io.AbstractDataHandler uk.ac.leeds.ccg.andyt.projects.moses.io.AbstractCASDataHandler uk.ac.leeds.ccg.andyt.projects.moses.io.MarkOutputDataHandler_2
public class MarkOutputDataHandler_2
A class for handling output data wanted by Mark Birkin.
Nested Class Summary | |
---|---|
class |
MarkOutputDataHandler_2.Counts
|
Field Summary | |
---|---|
protected java.io.FileOutputStream |
aFileOutputStream
A FileOutputStream for File. |
protected java.io.File |
aOutputFile
A File for writing output to. |
protected CASDataHandler |
tCASDataHandler
|
Fields inherited from class uk.ac.leeds.ccg.andyt.projects.moses.io.AbstractCASDataHandler |
---|
_CAS001DataHandler, _CAS003DataHandler, _LookUpMSOAfromOAHashMap, _RecordIDZoneCodeHashMap |
Fields inherited from class uk.ac.leeds.ccg.andyt.projects.moses.io.AbstractDataHandler |
---|
_Directory, _File, _RandomAccessFile, _RecordLength |
Fields inherited from class uk.ac.leeds.ccg.andyt.projects.moses.utilities.AbstractLog |
---|
_Logger, _Logger_FileHandler |
Constructor Summary | |
---|---|
MarkOutputDataHandler_2()
Creates a new instance of MarkOutputDataHandler_2 |
Method Summary | |
---|---|
AbstractCASDataRecord |
getDataRecord(long RecordID)
|
static void |
main(java.lang.String[] args)
|
void |
run()
TODO docs |
void |
writeEstimated_HSARHP(java.lang.String directory,
java.lang.String filenamePrefix,
java.lang.String filenameSuffix,
java.lang.String aggregation)
writeEstimated_HSARHP |
void |
writeEstimated_ISARHP()
Writes out MarkOutput1DataRecord but with zoneCode as Zone_Code |
void |
writeHeader()
Writes out header. |
void |
writeObservedMSOA()
Writes out MarkOutput1DataRecord but with zoneCode as Zone_Code |
void |
writeObservedOA()
Writes out MarkOutput1DataRecord but with zoneCode as Zone_Code |
void |
writeObservedWard()
Writes out MarkOutput1DataRecord but with zoneCode as Zone_Code |
Methods inherited from class uk.ac.leeds.ccg.andyt.projects.moses.io.AbstractCASDataHandler |
---|
get_LookUpMSOAfromOAHashMap, getCAS001DataHandler, getCAS003DataHandler, getDataRecord, getDataRecord, getLADCodes_TreeSet, getMSOACodes_HashSet, getMSOACodes_HashSet, getOACodes_HashSet, getOACodes_HashSet, getOACodes_TreeSet, getRecordIDZoneCode_HashMap, getRecordIDZoneCodeHashMap, getZoneCodeRecordID_HashMap, parseLine, printOAMSOACodes, write |
Methods inherited from class uk.ac.leeds.ccg.andyt.projects.moses.io.AbstractDataHandler |
---|
get_Directory, get_RecordLength, getNDataRecords, init, init, load, print |
Methods inherited from class uk.ac.leeds.ccg.andyt.projects.moses.utilities.AbstractLog |
---|
init_Logger, init_Logger, init_Logger, log, log |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.io.File aOutputFile
protected java.io.FileOutputStream aFileOutputStream
protected CASDataHandler tCASDataHandler
Constructor Detail |
---|
public MarkOutputDataHandler_2()
Method Detail |
---|
public static void main(java.lang.String[] args) throws java.io.IOException
args
- the command line arguments
java.io.IOException
public void run() throws java.io.IOException
java.io.IOException
public void writeHeader() throws java.io.IOException
java.io.IOException
public void writeObservedMSOA() throws java.io.IOException
java.io.IOException
public void writeObservedWard() throws java.io.IOException
java.io.IOException
public void writeObservedOA() throws java.io.IOException
java.io.IOException
public AbstractCASDataRecord getDataRecord(long RecordID)
getDataRecord
in class AbstractCASDataHandler
RecordID
- The RecordID of the AbstractCASDataRecord
to
be returned.
AbstractCASDataRecord
for the given RecordIDpublic void writeEstimated_HSARHP(java.lang.String directory, java.lang.String filenamePrefix, java.lang.String filenameSuffix, java.lang.String aggregation) throws java.io.IOException
aggregation
- OA, MSOA, Ward
java.io.IOException
public void writeEstimated_ISARHP() throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |