src/org/nutz/dao/impl/AbstractSqlManager.java
protected void loadSQL(Reader reader) throws IOException {
        BufferedReader bufferedReader = null;
        try {
            if(reader instanceof BufferedReader)
                bufferedReader = (BufferedReader)reader;
            else
                bufferedReader = new BufferedReader(reader);
            SqlFileBuilder p = new SqlFileBuilder(bufferedReader);
            _sql_keys = new ArrayList<String>(p.map.size());
            for (Entry<String, String> en : p.entrySet()) {
            	addSql(en.getKey(), Strings.trim(en.getValue()));
			}
        }
        finally {
            Streams.safeClose(bufferedReader);
        }

    }
protected void loadSQL(Reader reader) throws IOException {
        BufferedReader bufferedReader = null;
        try {
            if(reader instanceof BufferedReader)
                bufferedReader = (BufferedReader)reader;
            else
                bufferedReader = new BufferedReader(reader);
            SqlFileBuilder p = new SqlFileBuilder(bufferedReader);
            _sql_keys = new ArrayList<String>(p.map.size());
            for (Entry<String, String> en : p.entrySet()) {
            	addSql(en.getKey(), Strings.trim(en.getValue()));
			}
        }
        finally {
            Streams.safeClose(bufferedReader);
        }

    }
执行根据字符流来加载sql内容的操作

@param reader
@throws IOException