com.sas.storage.jdbc.export
Interface RelationalExportInterface

All Known Subinterfaces:
ExportExcelXMLInterface
All Known Implementing Classes:
RelationalDelimitedValuesExporter, RelationalExcelXMLExporter

public interface RelationalExportInterface

Represents an exporter class that tranforms non multidimensional data into data streams suitable to be exported to a spreadsheet.

Since:
3.1

Method Summary
 java.lang.String getColumnHeaderLine(java.lang.Object[] columnHeaders)
          Generates a string containing the values of the column headers to export.
 java.lang.String getFileHeader()
          Returns what is used as the header of the exported file.
 java.lang.String getFileTrailer()
          Returns what is used as the trailer of the exported file.
 java.lang.String getLine(java.lang.Object rowHeader, java.lang.Object[] data)
          Generates a string containing the values of the rowHeader (if not null) followed by the values of the data to export.
 

Method Detail

getFileHeader

java.lang.String getFileHeader()
Returns what is used as the header of the exported file.

Returns:
String The header of the exported file.

getColumnHeaderLine

java.lang.String getColumnHeaderLine(java.lang.Object[] columnHeaders)
Generates a string containing the values of the column headers to export.

Parameters:
columnHeaders - The column header objects.
Returns:
String The values of the column headers to export.

getLine

java.lang.String getLine(java.lang.Object rowHeader,
                         java.lang.Object[] data)
Generates a string containing the values of the rowHeader (if not null) followed by the values of the data to export.

Parameters:
rowHeader - The object holding the row header value.
data - The object holding the data values.
Returns:
String The string containing the values of the rowHeader followed by the values of the data to export.

getFileTrailer

java.lang.String getFileTrailer()
Returns what is used as the trailer of the exported file.

Returns:
String The trailer of the exported file.



Copyright © 2009 SAS Institute Inc. All Rights Reserved.