com.explosion.datastream.exql.impexp
Class DelimitedExportFormatter

java.lang.Object
  extended by com.explosion.datastream.exql.impexp.DelimitedExportFormatter
All Implemented Interfaces:
TableExportFormatter

public class DelimitedExportFormatter
extends java.lang.Object
implements TableExportFormatter


Constructor Summary
DelimitedExportFormatter()
           
 
Method Summary
 java.lang.String getDelimiter()
           
 boolean isIncludeColumnNames()
           
 void setDelimiter(java.lang.String delimiter)
           
 void setIncludeColumnNames(boolean includeColumnNames)
           
 void write(java.io.Writer writer, java.util.Vector columnNames, java.util.Vector data)
           
 void writeFooter(java.io.Writer writer, java.util.Vector columnNames)
           
 void writeHeader(java.io.Writer writer, java.util.Vector columnNames)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelimitedExportFormatter

public DelimitedExportFormatter()
Method Detail

write

public void write(java.io.Writer writer,
                  java.util.Vector columnNames,
                  java.util.Vector data)
           throws java.lang.Exception
Specified by:
write in interface TableExportFormatter
Throws:
java.lang.Exception

writeHeader

public void writeHeader(java.io.Writer writer,
                        java.util.Vector columnNames)
                 throws java.lang.Exception
Specified by:
writeHeader in interface TableExportFormatter
Throws:
java.lang.Exception

writeFooter

public void writeFooter(java.io.Writer writer,
                        java.util.Vector columnNames)
Specified by:
writeFooter in interface TableExportFormatter

getDelimiter

public java.lang.String getDelimiter()
Returns:
Returns the delimiter.

setDelimiter

public void setDelimiter(java.lang.String delimiter)
Parameters:
delimiter - The delimiter to set.

isIncludeColumnNames

public boolean isIncludeColumnNames()
Returns:
Returns the includeColumnNames.

setIncludeColumnNames

public void setIncludeColumnNames(boolean includeColumnNames)
Parameters:
includeColumnNames - The includeColumnNames to set.


Copyright © 2003-2005 Explosion I.T.. All Rights Reserved.