摘要:
//使用dbutils1.0版本import java.util.*;import java.util.logging.*;import java.sql.*;import org.apache.commons.dbutils.*;import org.apache.commons.dbutils.handlers.*;public class TestDBUnits {public static void main(String[]args) throws Exception {TestDBUnits test = new TestDBUnits();for(int i = 0 ; i 阅读全文
摘要:
Process myProcess = Runtime.getRuntime().exec("ipconfig"); InputStreamReader ir = new InputStreamReader(myProcess.getInputStream()); LineNumberReader input = new LineNumberReader (ir); String line; while ((line = input.readLine ()) != null) System.out.println(line); 阅读全文