09 2012 档案

java csv操作类
摘要:http://code.google.com/p/jcsv/已用~ 阅读全文

posted @ 2012-09-28 15:06 雨渐渐 阅读(221) 评论(0) 推荐(0) 编辑

java linq
摘要:http://code.google.com/p/diting/source/browse/trunk/src/org/diting/collections/test/QueryTest.java作废了,语法过于复杂~http://xircles.codehaus.org/projects/quaere java linq 阅读全文

posted @ 2012-09-27 11:39 雨渐渐 阅读(159) 评论(0) 推荐(0) 编辑

转换中文数字成为阿拉伯数字
摘要:package converter;import java.util.HashMap;//转换中文数字成为阿拉伯数字public class chineseConverter { //万以下的单位 static HashMap<Character, Integer> m_mapUnit = new HashMap<Character, Integer>(); //万以上的单位 static HashMap<Character, Integer> m_wUnit = new HashMap<Character, Integer>(); //数字 s 阅读全文

posted @ 2012-09-27 09:54 雨渐渐 阅读(231) 评论(0) 推荐(0) 编辑

c# 汉字转拼音
摘要:http://www.yuuzle.com/csharp-chinese-characters-to-pinyin.htmlhttp://www.yuuzle.com/wp-content/uploads/file/NPinyin-0_2_4588_20158-bin.zip 阅读全文

posted @ 2012-09-24 15:45 雨渐渐 阅读(173) 评论(0) 推荐(0) 编辑

批处理启动tomcat
摘要:E:cd E:\apache-tomcat-7.0.8.\bin\startup.bat 阅读全文

posted @ 2012-09-23 16:12 雨渐渐 阅读(147) 评论(0) 推荐(0) 编辑

eclipse修改整个工作空间的编码
摘要:Window->Preferences->General->Workspace->Text file Encoding 阅读全文

posted @ 2012-09-19 09:33 雨渐渐 阅读(176) 评论(0) 推荐(0) 编辑

nutch 写一个indexingfilter插件
摘要:参考源:http://blog.csdn.net/amuseme_lu/article/details/67802441 生成一个与urlfilter-regex类似的包结构代码路径的生成:http://www.cnblogs.com/i80386/archive/2012/09/04/2670670.html2public class MyIndexingFilter implements IndexingFilter { public static final Log LOG = LogFactory.getLog(MyIndexingFilter.class); priva... 阅读全文

posted @ 2012-09-10 11:23 雨渐渐 阅读(330) 评论(0) 推荐(0) 编辑

cygwin+hadoop+eclipse (三) 运行wordcount实例
摘要:前两者完成了cygwin,hadoop的安装,今天来运行一个hello world 程序_word count1 启动sshd服务2 用ssh登陆验证登陆格式化namenode,并启动hadoop设置输入 输出目录run on hadoop ,不要 java application 阅读全文

posted @ 2012-09-09 21:42 雨渐渐 阅读(328) 评论(0) 推荐(0) 编辑

java reflect 小例子
摘要:public static void main(String[] args) { Ticket ticket = new Ticket(); ticket.setAddress("address00"); ticket.setCity("city00"); ticket.setPhone("phone00"); ticket.setPoil("poi00"); ticket.setTitle("title00"); Field[] fields = ticket.getClass().getDe 阅读全文

posted @ 2012-09-09 01:54 雨渐渐 阅读(173) 评论(0) 推荐(0) 编辑

eclipse打包
摘要:1 安装net.sf.fjep.fatjar_0.0.272 批处理 java -jar crawler_ticket.jar 火车票 阅读全文

posted @ 2012-09-07 09:50 雨渐渐 阅读(127) 评论(0) 推荐(0) 编辑

hadoop HDFS常用操作
摘要: 阅读全文

posted @ 2012-09-06 17:25 雨渐渐 阅读(200) 评论(0) 推荐(0) 编辑

java url 解码 编码 奇怪的解码两次
摘要:String city="北京市"; String code_1= URLEncoder.encode(city, "utf-8"); System.out.println(code_1); String code_2= U... 阅读全文

posted @ 2012-09-05 11:57 雨渐渐 阅读(442) 评论(0) 推荐(0) 编辑

一个项目可以有多个源代码路径
摘要:这样我们就建立了一个新的代码路径~~ 阅读全文

posted @ 2012-09-04 17:00 雨渐渐 阅读(435) 评论(0) 推荐(0) 编辑

nutch 与 solr 的结合
摘要:http://blog.csdn.net/lovery99/article/details/7753275 阅读全文

posted @ 2012-09-04 15:24 雨渐渐 阅读(128) 评论(0) 推荐(0) 编辑

mapreduce (一) 物理图解+逻辑图解
摘要:InputFormat类:该类的作用是将输入数据转换为map函数的输入数据。通过job.setInputFormatClass()方法进行设置,默认是TextInputFormat,将文本文件分成split(多行),由于测试数据较小,所以每个文本作为一个split了。并通过LineRecoderRe... 阅读全文

posted @ 2012-09-03 16:11 雨渐渐 阅读(338) 评论(0) 推荐(0) 编辑

导航