无痕客

落花无情,流水无痕……

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 47 下一页

2011年11月21日

摘要: 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 无痕客 阅读(3683) 评论(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 无痕客 阅读(471) 评论(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 无痕客 阅读(975) 评论(0) 推荐(0) 编辑

2011年11月20日

摘要: 这几天研究了一下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 无痕客 阅读(11602) 评论(0) 推荐(1) 编辑

2011年11月19日

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

2011年11月9日

摘要: 在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 无痕客 阅读(2964) 评论(0) 推荐(0) 编辑

2011年10月31日

摘要: 自定义WORKSPACE的路径:configuration\config.ini osgi.instance.area.default=@user.home/workspaceEclipse 程序界面美化技术http://www.ibm.com/developerworks/cn/opensource/os-cn-ecl-rcprich/ JAVA按指定编码读写文件ArrayList<String> nameArr=new ArrayList();StringBuilder builder=new StringBuilder();try {String txtPath=" 阅读全文
posted @ 2011-10-31 11:48 无痕客 阅读(3145) 评论(0) 推荐(0) 编辑

2011年10月30日

摘要: import java.sql.*;public class Test { public static void main(String[] args) throws Exception { Class.forName("org.sqlite.JDBC"); Connection conn = DriverManager.getConnection("jdbc:sqlite:test.db"); Statement stat = conn.createStatement(); stat.executeUpdate("drop table if 阅读全文
posted @ 2011-10-30 11:00 无痕客 阅读(64510) 评论(5) 推荐(0) 编辑

2011年10月23日

摘要: 这个要先在安全里面把所有者设置为你当前的管理用户后才可以删除具体操作就是,点安全出来后,再点高级,再点里面的所有者,换为你系统当前的用户。这样确定再进入才可以删除的参考:http://wenwen.soso.com/z/q165775261.htmhttp://hi.baidu.com/woshenxia/blog/item/c89c6c327f7ee6caa2cc2be7.htmlhttp://www.asklaosan.com/laosan_answer_386.html 阅读全文
posted @ 2011-10-23 23:07 无痕客 阅读(2549) 评论(0) 推荐(0) 编辑

摘要: CollabNet SubversionEdge安装配置及用户管理(转载) 阅读全文
posted @ 2011-10-23 15:03 无痕客 阅读(3861) 评论(0) 推荐(0) 编辑

上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 47 下一页