- 博客(3)
- 问答 (2)
- 收藏
- 关注
原创 String类
今天看了下String类,就看看了文档,总结一下用的比较:1.String[] split(String regex)regex:用什么来分割.这个方法主要用与分割字符串。例子: String a="boo:ftt:too"; String[] ips=a.split(":"); for(int i=0;i {
2008-04-28 15:32:00 451
原创 Spring程序找不到applicationContext.xml配置文件
第一次写spring程序,当我按例子写完后运行出现找不到xml文件,从网上查后解决了,以下是我的经历我建立的所有类在com包中,xml也放到com包中,这时候找不到xml文件, ApplicationContext context=new ClassPathXmlApplicationContext("helloword.xml");我在建立一个包xml,把helloword.xml
2008-04-22 14:18:00 6642 1
原创 StringToKenizer用法
使用StringTokenizer类将字符串“word1 word2 word3”分解为三个单词。 【例】 /* * @(#)DemoStringTokenizer.java * / import java.io.*; impoort java.util.*; public class DemoStringTokenizer
2008-04-01 15:45:00 530
空空如也
collection包中BeanMap的设计
2011-01-10
关于日期函数
2008-08-12
TA创建的收藏夹 TA关注的收藏夹
TA关注的人