资源简介
mysql ,jdbc驱动 mysql-connector-java5.1.30
代码片段和文件信息
/*
Copyright (c) 2013 2014 Oracle and/or its affiliates. All rights reserved.
The MySQL Connector/J is licensed under the terms of the GPLv2
like most MySQL Connectors.
There are special exceptions to the terms and conditions of the GPLv2 as it is applied to
this software see the FLOSS License Exception
.
This program is free software; you can redistribute it and/or modify it under the terms
of the GNU General Public License as published by the Free Software Foundation; version 2
of the License.
This program is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this
program; if not write to the Free Software Foundation Inc. 51 Franklin St Fifth
Floor Boston MA 02110-1301 USA
*/
package com.mysql.fabric;
import java.util.List;
/**
* A response from one of the dump.* commands. These are formatted differently
* than responses from other commands. Most dump commands return List.
* ‘dump.fabric_nodes‘ is a notable exception returning a list of Fabric host/port pairs
* as strings.
*/
public class DumpResponse {
private List> returnValue;
private int ttl;
public DumpResponse(List> responseData) {
// uuid ignored (why is it int?)
// version token ignored
this.ttl = (Integer)responseData.get(2);
this.returnValue = (List>)responseData.get(3);
}
public List getReturnValue() {
return this.returnValue;
}
public int getTtl() {
return this.ttl;
}
/**
* Debug method to print the response and classes of data values.
*/
public String dumpReturnValue() {
StringBuffer b = new StringBuffer();
if (this.returnValue.size() > 0 &&
List.class.isAssignableFrom(this.returnValue.get(0).getClass())) {
// elements of return value list are lists themselves
for (List l : (List) this.returnValue) {
b.append(“[\n“);
for (object o : l) {
b.append(“ “ + o.toString());
b.append(“ (“ + o.getClass() + “)\n“);
}
b.append(“]\n“);
}
} else {
// for dump.fabric_nodes or any other non-list value types
for (object o : this.returnValue) {
b.append(o.toString() + ““);
}
}
return b.toString();
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2014-03-11 10:39 mysql-connector-java-5.1.30\
目录 0 2014-03-11 10:39 mysql-connector-java-5.1.30\docs\
目录 0 2014-03-11 10:39 mysql-connector-java-5.1.30\src\
目录 0 2014-03-11 10:39 mysql-connector-java-5.1.30\src\com\
目录 0 2014-03-11 10:39 mysql-connector-java-5.1.30\src\com\mysql\
目录 0 2014-03-11 10:39 mysql-connector-java-5.1.30\src\com\mysql\fabric\
目录 0 2014-03-11 10:39 mysql-connector-java-5.1.30\src\com\mysql\fabric\hibernate\
目录 0 2014-03-11 10:39 mysql-connector-java-5.1.30\src\com\mysql\fabric\jdbc\
目录 0 2014-03-11 10:39 mysql-connector-java-5.1.30\src\com\mysql\fabric\proto\
目录 0 2014-03-11 10:39 mysql-connector-java-5.1.30\src\com\mysql\fabric\proto\xm
目录 0 2014-03-11 10:39 mysql-connector-java-5.1.30\src\com\mysql\fabric\xm
目录 0 2014-03-11 10:39 mysql-connector-java-5.1.30\src\com\mysql\fabric\xm
目录 0 2014-03-11 10:39 mysql-connector-java-5.1.30\src\com\mysql\fabric\xm
目录 0 2014-03-11 10:39 mysql-connector-java-5.1.30\src\com\mysql\jdbc\
目录 0 2014-03-11 10:39 mysql-connector-java-5.1.30\src\com\mysql\jdbc\authentication\
目录 0 2014-03-11 10:39 mysql-connector-java-5.1.30\src\com\mysql\jdbc\configs\
目录 0 2014-03-11 10:39 mysql-connector-java-5.1.30\src\com\mysql\jdbc\exceptions\
目录 0 2014-03-11 10:39 mysql-connector-java-5.1.30\src\com\mysql\jdbc\exceptions\jdbc4\
目录 0 2014-03-11 10:39 mysql-connector-java-5.1.30\src\com\mysql\jdbc\integration\
目录 0 2014-03-11 10:39 mysql-connector-java-5.1.30\src\com\mysql\jdbc\integration\c3p0\
目录 0 2014-03-11 10:39 mysql-connector-java-5.1.30\src\com\mysql\jdbc\integration\jboss\
目录 0 2014-03-11 10:39 mysql-connector-java-5.1.30\src\com\mysql\jdbc\interceptors\
目录 0 2014-03-11 10:39 mysql-connector-java-5.1.30\src\com\mysql\jdbc\jdbc2\
目录 0 2014-03-11 10:39 mysql-connector-java-5.1.30\src\com\mysql\jdbc\jdbc2\optional\
目录 0 2014-03-11 10:39 mysql-connector-java-5.1.30\src\com\mysql\jdbc\jmx\
目录 0 2014-03-11 10:39 mysql-connector-java-5.1.30\src\com\mysql\jdbc\log\
目录 0 2014-03-11 10:39 mysql-connector-java-5.1.30\src\com\mysql\jdbc\profiler\
目录 0 2014-03-11 10:39 mysql-connector-java-5.1.30\src\com\mysql\jdbc\trace\
目录 0 2014-03-11 10:39 mysql-connector-java-5.1.30\src\com\mysql\jdbc\util\
目录 0 2014-03-11 10:39 mysql-connector-java-5.1.30\src\com\mysql\jdbc\webapp\
目录 0 2014-03-11 10:39 mysql-connector-java-5.1.30\src\demo\
............此处省略367个文件信息
相关资源
- Jsp+Mysql+Jdbc+Servlet适合初学者的登陆查
- mysql-5.5.27驱动
- Java+MySQL停车场管理系统源码和文档
- Java Web+Mysql实现邮箱激活注册的用户
- 基于jsp的医药销售管理系统
- 教务管理系统servlet+jsp+javabean+mysql
- jsp+servlet+mysql写的简易购物网站系统代
- jsp书店租赁管理系统
- android连接mysql
- 基于jsp的高校寝室管理系统全部代码
- JSP 音乐点播系统
- mybatis+mysql jar包
- jsp servlet mysql 学生通讯管理系统
- JSON从服务器数据到Android客户端
- JSP+MYSQL通讯录系统
- jsp+servlet+jdbc+mysql实现的新闻管理系统
- jsp网上选课系统jsp+servlet+mysql
- mysql-connector-java-5.1.7
- mysql-connector-java-8.0.16.jar
- mysql8.0.15的jar包
- j2ee实验-模拟传感器的Web程序-servlet
- 酒店管理系统(JAVA+MYSQL)
- 7、教材订购系统jsp+servlet+mysql.zip
- javaweb 基于JSP+Servlet+Mysql的图书管理系
- orderMeal.zip
- Java+SpringBoot+MyBatis+Maven+MySQL实现的一个
- JSP+MYSQL科研成果管理系统
- JSP+Struts2+MySQL投票系统(含数据库脚本
- JSP图书管理系统源代码终结版
- jsp+mysql在线考试系统+文档
评论
共有 条评论