public class StringRowHandler extends Object implements RowHandler<String>
ResultSet结果中的某行处理为数组public StringRowHandler(ResultSetMetaData meta, String delimiter) throws SQLException
meta - ResultSetMetaDatadelimiter - 分隔符SQLException - SQL异常public String handle(ResultSet rs) throws SQLException
RowHandlerhandle 在接口中 RowHandler<String>rs - ResultSet,传入前,须调用ResultSet.next()定位到行。SQLException - SQL异常Copyright © 2023. All rights reserved.