自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Damin.yang

做一只勤劳的小蜜蜂——搬砖,搬砖,搬砖...

  • 博客(6)
  • 资源 (1)
  • 收藏
  • 关注

原创 论坛代码共享

论坛代码共享

2011-04-05 15:36:00 442

转载 java各种数据库连接

<br />MySQL: String Driver="com.mysql.jdbc.Driver"; //驱动程序 String URL="jdbc:mysql://localhost:3306/db_name"; //连接的URL,db_name为数据库名 String Username="username"; //用户名 String Password="password"; //密码 Class.forName

2011-04-05 15:30:00 329

转载 java获取ip地址

<br />import java.awt.GridLayout;import java.awt.event.ActionEvent;import java.awt.event.ActionListener;import java.net.InetAddress;import java.net.UnknownHostException;import javax.swing.JButton;import javax.swing.JFrame;import javax.swing.J

2011-04-05 15:27:00 494

转载 java日期处理bean

<br />import java.text.ParsePosition;import java.text.SimpleDateFormat;import java.util.Calendar;import java.util.Date;import java.util.GregorianCalendar;import java.util.regex.Pattern;import org.apache.commons.logging.Log;import org.apache.c

2011-04-05 15:26:00 403

转载 java访问资源文件Properties

<br />import java.io.FileInputStream; import java.io.FileOutputStream; import java.util.Properties; public class PropertyEditor { public static void main(String[] args) throws Exception { Properties prop = new Properties

2011-04-05 15:25:00 754

转载 java读xml

<br />java代码:<br />import java.io.*;import javax.xml.parsers.DocumentBuilder;import javax.xml.parsers.DocumentBuilderFactory;import org.w3c.dom.Document;import org.w3c.dom.Element;import org.w3c.dom.Node;import org.w3c.dom.NodeList;public cla

2011-04-05 15:23:00 513

空空如也

空空如也

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

TA关注的人

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