|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.retek.component.salesaudit.integration.resa.RtlogBufferedFileWriter
Class defining the data and behavior for an appending RTLOG file writer.
Constructor Summary | |
RtlogBufferedFileWriter(java.io.File exportFile,
java.lang.String rtlogFileFormatSpecification)
|
Method Summary | |
void |
close()
Close the RTLOG file and seal it, writes an FTAIL record to the file. |
java.io.File |
getExportFile()
Return the file descriptor for the rtlog export file. |
int |
getRecordCount()
Return the number of records written to the RTLOG file. |
int |
getTransactionCount()
Return the number of transactions written to the RTLOG file. |
boolean |
isPurged()
Return a boolean indiciating if the rtlog file has been purged (in error). |
void |
open()
Open the RTLOG file and prepare it for processing, writes an FHEAD record to the file. |
void |
purge()
Physically close the RTLOG file. |
void |
write(java.util.List recordsForFile)
Write ReSA order transaction records to the RTLOG file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RtlogBufferedFileWriter(java.io.File exportFile, java.lang.String rtlogFileFormatSpecification) throws SystemException
Method Detail |
public int getRecordCount()
RtlogFileWriter
getRecordCount
in interface RtlogFileWriter
public int getTransactionCount()
RtlogFileWriter
getTransactionCount
in interface RtlogFileWriter
public java.io.File getExportFile()
RtlogFileWriter
getExportFile
in interface RtlogFileWriter
public void open() throws java.lang.Exception
RtlogFileWriter
open
in interface RtlogFileWriter
java.lang.Exception
public void write(java.util.List recordsForFile) throws java.lang.Exception
RtlogFileWriter
write
in interface RtlogFileWriter
recordsForFile
- resa records
java.lang.Exception
public void close() throws java.lang.Exception
RtlogFileWriter
close
in interface RtlogFileWriter
java.lang.Exception
public void purge() throws SystemException
RtlogFileWriter
purge
in interface RtlogFileWriter
SystemException
public boolean isPurged()
RtlogFileWriter
isPurged
in interface RtlogFileWriter
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |