public void dumpTable(final String table, final PrintStream inOut, final String newline) {
	
		(new SQLStatementProcessor<Void>("SELECT * FROM " + table) { 
			Void process( PreparedStatement s ) throws SQLException {
				ResultSet rs = s.executeQuery();
				ResultSetMetaData md = rs.getMetaData();
				
				for( int i=1; i<=md.getColumnCount(); i++ )
				{
					inOut.print( md.getColumnLabel(i) + " " );
				}
				inOut.print(newline);
				
				PrintWriter out = new PrintWriter(new OutputStreamWriter(inOut));
				
				int rowCount=0;
				while( rs.next() )
				{
					rowCount++;
					for( int i=1; i<=md.getColumnCount(); i++ )
					{
						out.printf( "%" + md.getColumnLabel(i).length() + "s ", rs.getObject(i) == null ? "null" : rs.getObject(i).toString() );
						out.flush();
					}
					out.flush();
					out.print(newline);
				}
				out.print("-- " + rowCount + " total --" + newline);
				out.flush();
				return null;
			}
		}).doit();
	}