com.northconcepts.datapipeline.rtf
Class RtfWriter

java.lang.Object
  extended by com.northconcepts.datapipeline.core.DataEndpoint
      extended by com.northconcepts.datapipeline.core.DataWriter
          extended by com.northconcepts.datapipeline.core.AbstractWriter
              extended by com.northconcepts.datapipeline.core.BinaryWriter
                  extended by com.northconcepts.datapipeline.rtf.RtfWriter

public class RtfWriter
extends BinaryWriter

Writes records to an RTF document stream.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.northconcepts.datapipeline.core.DataEndpoint
DataEndpoint.State
 
Field Summary
 
Fields inherited from class com.northconcepts.datapipeline.core.AbstractWriter
currentRecord
 
Fields inherited from class com.northconcepts.datapipeline.core.DataEndpoint
BUFFER_SIZE, log
 
Constructor Summary
RtfWriter(File file)
           
RtfWriter(OutputStream outputStream)
           
 
Method Summary
 void close()
          Indicates that this endpoint has finished reading or writing.
 void open()
          Makes this endpoint ready for reading or writing.
protected  void writeRecord(Record record)
           
 
Methods inherited from class com.northconcepts.datapipeline.core.BinaryWriter
addExceptionProperties, getOutputStream
 
Methods inherited from class com.northconcepts.datapipeline.core.AbstractWriter
isFieldNamesInFirstRow, setFieldNamesInFirstRow, write, writeImpl
 
Methods inherited from class com.northconcepts.datapipeline.core.DataWriter
getNestedWriter, getRootWriter
 
Methods inherited from class com.northconcepts.datapipeline.core.DataEndpoint
assertNotOpened, assertOpened, decrementRecordCount, exception, exception, exception, finalize, getDescription, getRecordCount, getRecordCountAsBigInteger, getRecordCountAsString, getState, incrementRecordCount, isClosed, isOpen, isRecordCountBigInteger, resetRecordCount, setDescription, toString
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RtfWriter

public RtfWriter(File file)

RtfWriter

public RtfWriter(OutputStream outputStream)
Method Detail

open

public void open()
Description copied from class: DataEndpoint
Makes this endpoint ready for reading or writing.

Overrides:
open in class AbstractWriter

close

public void close()
Description copied from class: DataEndpoint
Indicates that this endpoint has finished reading or writing.

Overrides:
close in class BinaryWriter

writeRecord

protected void writeRecord(Record record)
                    throws Throwable
Specified by:
writeRecord in class AbstractWriter
Throws:
Throwable


Copyright (c) 2007-2012 North Concepts Inc. All Rights Reserved.