Arch4J 1.1

org.arch4j.parse
Class DelimitedRecordWriter

java.lang.Object
  |
  +--org.arch4j.parse.RecordWriter
        |
        +--org.arch4j.parse.DelimitedRecordWriter

public class DelimitedRecordWriter
extends RecordWriter


Field Summary
static String DEFAULT_DELIMITER
           
 
Fields inherited from class org.arch4j.parse.RecordWriter
DATA_TYPE_DATE, DATA_TYPE_NUMBER, DATA_TYPE_TEXT, DEFAULT_CLOSE_BRACKET, DEFAULT_OPEN_BRACKET, format, writer
 
Constructor Summary
DelimitedRecordWriter(OutputStream destination)
           
 
Method Summary
protected  String[] createRawData(RecordData record)
          create a record ready to go out to the ouput stream from an RecordData object.
protected  void initFormatData()
           
 
Methods inherited from class org.arch4j.parse.RecordWriter
close, convertObjectToText, flush, setFormat, write, writeDateRecord, writeRawData, writeRecord
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_DELIMITER

public static final String DEFAULT_DELIMITER
See Also:
Constant Field Values
Constructor Detail

DelimitedRecordWriter

public DelimitedRecordWriter(OutputStream destination)
Method Detail

createRawData

protected String[] createRawData(RecordData record)
Description copied from class: RecordWriter
create a record ready to go out to the ouput stream from an RecordData object. Format based on the properties provided to the RecordWriter.setFormat(org.arch4j.propertytree.ReadOnlyProperty) method.

Specified by:
createRawData in class RecordWriter
Parameters:
record - the record object to be converted to Strings.
Returns:
String representation of record.

initFormatData

protected void initFormatData()
                       throws FormatException
Specified by:
initFormatData in class RecordWriter
FormatException

Arch4J 1.1

Copyright © 2000-2004 SpiderLogic, a service of Wipfli Ullrich Bertelson LLP.