| java.lang.Object org.apache.cocoon.components.language.markup.xsp.EsqlHelper
EsqlHelper | public class EsqlHelper (Code) | | This is a helper class to remove redundant code in
esql pages.
Based on the orginal esql.xsl.
author: Torsten Curdt version: CVS $Id: EsqlHelper.java 452425 2006-10-03 11:18:47Z vgritsenko $ |
Method Summary | |
public static String | getAscii(ResultSet set, String column, String defaultString) | public static String | getAscii(ResultSet set, int column, String defaultString) | public static String | getAscii(CallableStatement cs, int column, String defaultString) | public static byte[] | getBlob(ResultSet set, String column) | public static byte[] | getBlob(ResultSet set, int column) | public static byte[] | getBlob(CallableStatement cs, int column, String defaultString) | public static String | getStringFromByteArray(byte[] bytes, String encoding, String defaultString) | public static String | getStringOrClob(ResultSet set, String column, String defaultString) | public static String | getStringOrClob(ResultSet set, int column, String defaultString) | public static String | getStringOrClob(CallableStatement cs, int column, String defaultString) |
getAscii | public static String getAscii(ResultSet set, int column, String defaultString)(Code) | | returns ascii string from CLOB or String column
|
getStringFromByteArray | public static String getStringFromByteArray(byte[] bytes, String encoding, String defaultString)(Code) | | |
getStringOrClob | public static String getStringOrClob(ResultSet set, int column, String defaultString) throws Exception(Code) | | returns Unicode encoded string from CLOB or String column
|
|
|