|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.retek.commons.component.xml.batch.XmlBufferedFileWriter
Abstract class which implements behavior for a buffered file writer for writing transactions to an xml output file.
Constructor Summary | |
---|---|
XmlBufferedFileWriter(java.io.File exportFile,
RDate createTime,
XmlFileWriterTransactionHandler handler,
java.util.Set observers)
|
Method Summary | |
---|---|
void |
close()
Close the XML file and seal it, writes any closing info to the file. |
void |
closeFile()
Physically close the XML file. |
void |
open()
Open the XML file and prepare it for processing, writes appropriate header info to the file. |
void |
write(java.lang.Object transactionObject)
Writes a transaction object to the integration xml file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XmlBufferedFileWriter(java.io.File exportFile, RDate createTime, XmlFileWriterTransactionHandler handler, java.util.Set observers) throws SystemException
Method Detail |
public void open() throws java.lang.Exception
XmlFileWriter
open
in interface XmlFileWriter
java.lang.Exception
public void write(java.lang.Object transactionObject) throws java.lang.Exception
XmlFileWriter
write
in interface XmlFileWriter
transactionObject
- transaction object
java.lang.Exception
public final void close() throws java.lang.Exception
XmlFileWriter
close
in interface XmlFileWriter
java.lang.Exception
public final void closeFile() throws java.io.IOException
XmlFileWriter
closeFile
in interface XmlFileWriter
java.io.IOException
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |