码迷,mamicode.com
首页 >  
搜索关键字:properties edit    ( 13937个结果
XE6 c++builder Edit垂直居中
class TMyEdit : public Vcl::Stdctrls::TEdit{ virtual void __fastcall CreateParams(TCreateParams& Params); void __fastcall WMSize(TWMSize &Messag...
分类:编程语言   时间:2014-08-19 16:27:14    阅读次数:309
Ibatis,Mybatis利用log4j将SQL语句打印在控制台
在做一个项目Demo的时候,使用MyBatis+Spring,发现写好的SQL查询出来不对劲,但是也没报错, 所以想到用日志把SQL语句打出来.也参考了部分网友的代码,最后总结了一下,发现正常运行。 本人项目为Mybatis+SpringMVC,所有都已配置好,且正常运行。 此过程无需配置,直接在classPath目录创建log4j.properties,文件,并将下列代码粘贴进去即可,此代...
分类:数据库   时间:2014-08-19 14:36:44    阅读次数:178
使用SharedPreferences进行数据存储和读取
1、储存很多时候我们开发的软件需要向用户提供软件参数设置功能,例如我们常用的QQ,用户可以设置是否允许陌生人添加自己为好友。对于软件配置参数的保存,如果是window软件通常我们会采用ini文件进行保存,如果是j2se应用,我们会采用properties属性文件或者xml进行保存。如果是Androi...
分类:其他好文   时间:2014-08-19 14:27:54    阅读次数:211
Making Properties Nonenumerable
We implemented a Set class by using  "object id" properties to map objects.  Every object has a unique object id. In order to ensure the same object is added only once, we make the id a property of th...
分类:其他好文   时间:2014-08-19 12:53:24    阅读次数:200
java web项目中 读取properties 路径的问题
可以先获取项目的classPathString classPath = this.getClass().getResource("/").getPath();//获取classPath(部署到tomcat的路径上)我的为/D:/apache-tomcat-6.0.29/webapps/demo/WE...
分类:编程语言   时间:2014-08-19 12:47:34    阅读次数:247
vcf_filter.py
pyvcf 中带的一个工具 比其他工具用着好些 其他filter我很信不过~~ 自己写的功能又很有限 所以转投vcf_filter.py啦Filtering a VCF file based on some properties of interest is a common enough oper...
分类:其他好文   时间:2014-08-19 10:54:24    阅读次数:274
osgi实战学习之路:6. Service-1
什么是Service? 它是注册到osgi的一个java对象 Service注册: 通过BundleContext::registerService(java.lang.String[] clazzes, java.lang.Object service, java.util.Dictionary properties)  Service查找...
分类:其他好文   时间:2014-08-19 01:02:03    阅读次数:197
编程之美leetcode之编辑距离
Edit Distance   Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.) You have the following 3 operati...
分类:其他好文   时间:2014-08-18 20:35:02    阅读次数:206
使用枚举单例实现Xml、properties属性配置文件的操作
上一篇文章,介绍了java中四种单例设计模式;其中,可以使用枚举类型方式实现单例设计模式,但是实现的例子比较简单,本文将通过枚举单例,实现如何同时读取xml、properties属性配置文件。在回味枚举单例的使用同时,介绍一些属性配置文件的使用方式。1、代码实现packagecom.pr..
分类:其他好文   时间:2014-08-18 18:49:23    阅读次数:268
SharePoint Templates & Definitions
1. 元素的SecurityBits属性OptionalText. Defines the item-level permissions in the list for users with sufficient permission to read or edit list items. TheS...
分类:其他好文   时间:2014-08-18 18:21:42    阅读次数:202
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!