码迷,mamicode.com
首页 >  
搜索关键字:string    ( 95377个结果)
用java读取properties文件--转
今天为了通过java读取properties文件,google了很长时间,终于找到了。现在特记录之和大家一起分享。 下面直接贴出代码:java类public class Mytest public static void readFile(String fileName) {//传入参数file.....
分类:编程语言   时间:2014-06-12 15:51:26    阅读次数:323
后台代码中绑定枚举类型显示为英文,要显示中文的
显示英文的情况:是点击同页面中另外一个ddl控件显示隐藏部分,其中隐藏部分中有另一个ddl,此ddl显示为英文this.ddl.Items.Add(EnumUtils.GetListItem(PeriodType.Month));.......这里在页面显示中为Month修改为:(此种格式显示中文)...
分类:其他好文   时间:2014-06-12 15:33:46    阅读次数:201
Swift入门教程:基本语法(二)
Swift基本语法
分类:其他好文   时间:2014-06-12 15:22:59    阅读次数:225
Swift入门教程:基本语法(三)
打印输出 Swift提供了2个打印输出函数println :输出内容后会自动换行print :对比println,少了个自动换行的功能示例输出字符串println("欢迎学习传智播客iOS学院Swift教程")var na...
分类:其他好文   时间:2014-06-12 15:09:29    阅读次数:315
NSData转化成十六进制字符串
Byte *bytes=(Byte*)[data bytes]; NSString *hexStr=@""; for(int i=0;i<[data length];i++) { NSString *newHexStr=[NSString stringWithFormat:...
分类:其他好文   时间:2014-06-12 14:57:09    阅读次数:204
What should I do about “302 Found” exceptions when downloading with Indy?
Set theTIdHTTP.HandleRedirectsproperty to True. It is False by default.function FetchUrl(const url: string): string; var idhttp : TIdHTTP; begin id...
分类:其他好文   时间:2014-06-12 14:53:09    阅读次数:286
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!