uk.org.ogsadai.converters.resultset.csv
Class UnsupportedColumnStrategy
java.lang.Object
|
+--uk.org.ogsadai.converters.resultset.csv.UnsupportedColumnStrategy
- All Implemented Interfaces:
- ColumnStrategy
- public class UnsupportedColumnStrategy
- extends java.lang.Object
- implements ColumnStrategy
Catch-all strategy for unsupported types.
- Author:
- The OGSA-DAI Project Team
Method Summary |
void |
convertField(java.lang.StringBuffer output,
java.sql.ResultSet rs,
int column)
Convert a single field from the current row of the result set into string
and appends them to the output string buffer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COPYRIGHT_NOTICE
private static final java.lang.String COPYRIGHT_NOTICE
- See Also:
- Constant Field Values
UnsupportedColumnStrategy
public UnsupportedColumnStrategy()
convertField
public void convertField(java.lang.StringBuffer output,
java.sql.ResultSet rs,
int column)
throws java.sql.SQLException,
java.io.IOException
- Description copied from interface:
ColumnStrategy
- Convert a single field from the current row of the result set into string
and appends them to the output string buffer.
- Specified by:
convertField
in interface ColumnStrategy
- Parameters:
output
- output stream to write the converted bytesrs
- result set containing the fieldcolumn
- index of the column within the current row containing the
field
- Throws:
java.sql.SQLException
- if a database error occurs during the processing of the
result set
java.io.IOException
- if there is an error with accessing streams used in conversion