1 16 package com.ibatis.sqlmap.client; 17 18 import com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser; 19 20 import java.io.Reader ; 21 import java.util.Properties ; 22 23 45 public class SqlMapClientBuilder { 46 47 50 private SqlMapClientBuilder() { 51 } 52 53 60 public static SqlMapClient buildSqlMapClient(Reader reader) { 61 return new SqlMapConfigParser().parse(reader); 63 } 64 65 76 public static SqlMapClient buildSqlMapClient(Reader reader, Properties props) { 77 return new SqlMapConfigParser().parse(reader, props); 79 } 80 81 } 82 | Popular Tags |