上一页 1 2 3 4 5 6 7 8 9 ··· 12 下一页
摘要: http://jingyan.baidu.com/album/db55b60990f6084ba30a2fb8.html?picindex=5 阅读全文
posted @ 2016-07-27 16:40 kane_zch 阅读(615) 评论(0) 推荐(0) 编辑
摘要: http://jingyan.baidu.com/article/9989c746064d46f648ecfe9a.html 阅读全文
posted @ 2016-07-27 13:57 kane_zch 阅读(214) 评论(0) 推荐(0) 编辑
摘要: http://www.codeceo.com/article/log4j-usage.html 阅读全文
posted @ 2016-07-27 11:45 kane_zch 阅读(96) 评论(0) 推荐(0) 编辑
摘要: public static void main(String[] args) throws ParseException { Date date = new Date(0); SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); format.setTi... 阅读全文
posted @ 2016-07-25 10:01 kane_zch 阅读(322) 评论(0) 推荐(0) 编辑
摘要: import java.io.*; public class IO2File { public static void main(String[] args) throws IOException { File f=new File("out.txt"); f.createNewFile(); FileOutputStream file... 阅读全文
posted @ 2016-07-22 15:21 kane_zch 阅读(3848) 评论(0) 推荐(0) 编辑
摘要: 在Mongodb中时间的存储格式为ISODate,如下所示,ISODate时间表示格林尼治时间,而我们通常需要看的时间是我们的东八区时间 在java mongoDB driver获取的时候,API内部其实已经作了转换,从ISODate 》Date, 具体可参考如下这篇文章 http://blog.c 阅读全文
posted @ 2016-07-22 14:56 kane_zch 阅读(19667) 评论(0) 推荐(0) 编辑
摘要: /** * 将指定byte数组以16进制的形式打印到控制台 * * @param hint * String * @param b * byte[] * @return void */ public static void printHexString(Strin... 阅读全文
posted @ 2016-07-20 15:09 kane_zch 阅读(3278) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/aspnet2002web/article/details/11484151 阅读全文
posted @ 2016-07-20 15:07 kane_zch 阅读(844) 评论(0) 推荐(0) 编辑
摘要: org.mongodb mongodb-driver 3.2.2 import java.util.ArrayList; import org.bson.Document; import java.util.List; import com.mongodb.MongoClient; import com.mon... 阅读全文
posted @ 2016-07-19 11:44 kane_zch 阅读(8694) 评论(0) 推荐(0) 编辑
摘要: org.apache.hbase hbase-client 1.0.3 import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.TableN... 阅读全文
posted @ 2016-07-19 11:34 kane_zch 阅读(814) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 12 下一页