无痕客

落花无情,流水无痕……

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
  469 随笔 :: 13 文章 :: 279 评论 :: 205万 阅读
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

11 2011 档案

摘要:解决Eclipse RCP开发中的java.lang.UnsatisfiedLinkError错误 阅读全文
posted @ 2011-11-29 17:39 无痕客 阅读(28797) 评论(0) 推荐(0) 编辑

摘要:Eclipse调试时,JVM参数的录入,例如:-D 这几天在看Cassandra的源代码,Cassandra是通过org.apache.cassandra.service.CassandraDaemon来启动的。在-D的参数中(storage-config)指定了的Cassandra配置文件storage-conf.xml的路径。系统通过下面的code来获取值:Java代码 configFileName_=System.getProperty("storage-config")+File.separator+"storage-conf.xml"; con 阅读全文
posted @ 2011-11-21 13:46 无痕客 阅读(3686) 评论(0) 推荐(0) 编辑

摘要:ExifTool by Phil Harveyhttp://owl.phy.queensu.ca/~phil/exiftool/index.html#related_progExifTool – Enhanced Java Integration for ExifToolhttp://www.thebuzzmedia.com/software/exiftool-enhanced-java-integration-for-exiftool/#sourcehttp://u88.n24.queensu.ca/exiftool/forum/index.php?topic=3527.0Moss: Col 阅读全文
posted @ 2011-11-21 01:26 无痕客 阅读(476) 评论(0) 推荐(0) 编辑

摘要:Java Zip Compression Exampleshttp://www.example-code.com/java/zip.asphttp://hi.baidu.com/csacer/blog/item/329439311531bb02ebc4afb3.html/cmtid/2c6273fa98dc6511a8d311dahttp://www.keygenguru.com/serial/chilkat_zip_v7_0_3.htmlHow to extract Java resources from JAR and zip archiveshttp://www.javaworld.co 阅读全文
posted @ 2011-11-21 00:48 无痕客 阅读(984) 评论(0) 推荐(0) 编辑

摘要:这几天研究了一下SQLite这个嵌入式数据库在多线程环境下的应用,感觉里面的学问还挺多,于是就在此分享一下。先说下初衷吧,实际上我经常看到有人抱怨SQLite不支持多线程。而在iOS开发时,为了不阻塞主线程,数据库访问必须移到子线程中。为了解决这个矛盾,很有必要对此一探究竟。关于这个问题,最权威的解答当然是SQLite官网上的“Is SQLite threadsafe?”这个问答。简单来说,从3.3.1版本开始,它就是线程安全的了。而iOS的SQLite版本没有低于这个版本的:3.4.0 - iPhone OS 2.2.13.6.12 - iPhone OS 3.0 / 3.13.6.22 - 阅读全文
posted @ 2011-11-20 23:50 无痕客 阅读(11621) 评论(0) 推荐(1) 编辑

摘要:JAVA获取系统相关信息,IP、MAC等 阅读全文
posted @ 2011-11-19 17:49 无痕客 阅读(8701) 评论(0) 推荐(0) 编辑

摘要:在RCP中,view是张贴于perspective之上的。传统的方式是直接在perspective的createInitialLayout方法中按照类似如下的方式添加view并设置布局: Java代码 publicvoidcreateInitialLayout(IPageLayoutlayout){ StringeditorArea=layout.getEditorArea(); layout.setEditorAreaVisible(false); layout.addView(SelectedPsrInfoView.ID,IPageLayout.LEFT,IPageLayout.RATIO 阅读全文
posted @ 2011-11-09 08:42 无痕客 阅读(2988) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示