Lines Matching refs:pw
29 PrintWriter pw;
40 public Shell(PrintWriter pw, PrintWriter err) {
41 this.pw = pw;
46 pw = new PrintWriter(ps);
51 Shell s = new Shell(this.pw, this.err);
183 pw.println("");
186 pw.println(cols[i] + " = " +
202 pw.print(csep + cols[i]);
207 pw.println("");
215 pw.print(csep + (args[i] == null ? "NULL" : args[i]));
218 pw.println("");
224 pw.print(cols[i] +
232 pw.print(args[i] == null ? "NULL" : args[i]);
234 pw.print(";");
236 pw.print(sep);
239 pw.println("");
243 pw.print("<TR>");
245 pw.print("<TH>" + html_quote(cols[i]) + "</TH>");
247 pw.println("</TR>");
252 pw.print("<TR>");
254 pw.print("<TD>" + html_quote(args[i]) + "</TD>");
256 pw.println("</TR>");
266 pw.print("INSERT INTO " + tname + " VALUES(");
270 pw.print(tsep + "NULL");
272 pw.print(tsep + args[i]);
274 pw.print(tsep + sql_quote(args[i]));
277 pw.println(");");
287 pw.print("INSERT INTO " + tname + " VALUES(");
290 pw.print(tsep + args[i]);
292 pw.println(");");
337 pw.println(".dump ?TABLE? ... Dump database in text fmt");
338 pw.println(".echo ON|OFF Command echo on or off");
339 pw.println(".enc ?NAME? Change encoding");
340 pw.println(".exit Exit program");
341 pw.println(".header ON|OFF Display headers on or off");
342 pw.println(".help This message");
343 pw.println(".mode MODE Set output mode to\n" +
346 pw.println(".mode insert TABLE Generate SQL insert stmts");
347 pw.println(".schema ?PATTERN? List table schema");
348 pw.println(".separator STRING Set separator string");
349 pw.println(".tables ?PATTERN? List table names");
404 pw.println(tab);
464 pw.print(prompt);
465 pw.flush();
479 pw.println(line);
505 pw.flush();
586 s.pw.flush();
591 s.pw.flush();
612 s.pw.println("BEGIN TRANSACTION;");
638 s.pw.println("COMMIT;");
653 s.pw.println(args[2] + ";");