自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 收藏
  • 关注

原创 java读取文件

public void test() throws Exception { String path ="D:\\a.txt"; //文件路径 FileInputStream in = new FileInputStream(path);   BufferedReader br = new BufferedReader(new InputStreamReader(in, "UTF-8"));

2013-01-10 11:17:29 240

原创 java jdbc

public void test() {         Class.forName("com.mysql.jdbc.Driver");         Connection conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/hscloud","root","1234");         Statement ps

2013-01-09 16:37:10 200

原创 正则取中间值

String str = "// 河北省(130000000000)"; String pat=".+?\\((.+?)\\)"; Pattern pattern = Pattern.compile(pat); Matcher matcher = pattern.matcher(str);  if (matcher.find()){          System.out.println

2013-01-09 16:34:58 1498

原创 iphone开发基础

消息 【obj method:args】 obj对象调用method方法传入args参数 @property (nonatomic, retain) NSArray *myArray; nonatomic指定属性在非多线程环境下 retain给变量一个指针,保存在内存中。 @synthesize myArray @synthesize提供默认的操作对象(object)

2013-01-06 22:58:16 257

原创 linux test

test  表达式 运算符   如果。。。。。则为真 string string不是null -b file  file是块设备文件 -c file  file是字符设备文件 -d file file是目录 -e file   file存在 -f  file  file为一般文件 -g file file有设置它的setgid位 -h file file是一符号连接 -L fi

2013-01-05 17:20:36 227

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除