自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

蒋路斌

勤习出奇策,乐学生妙计

  • 博客(8)
  • 收藏
  • 关注

原创 InputStream与OutputStream的使用例子

package com.hanchao.test;import java.io.BufferedInputStream;import java.io.BufferedOutputStream;import java.io.File;import java.io.FileInputStream;import java.io.FileOutputStream;/*...

2012-12-21 14:52:20 266

原创 甘特图父子任务级联关系

由于甘特图的任务id必须是0-9的数字,所以这里的任务id为rid,id字段为数据库中的逐渐。下面两个方法为核心方法。 //定义一个空有序集合List<GanttViewBean> resultList = new ArrayList<GanttViewBean>(); //将获取的数据进行级联排序private List<GanttVie...

2012-09-27 19:39:39 1171

原创 32位16进制转换为10进制

public class Trans2Ten { public static void main(String[] args) {  long l = sixteen2ten("11e1-c418-a000039f-baac-7596f0d041ff");  System.out.println("十进制:" + l); } public static long sixteen2ten(S...

2012-09-25 11:06:47 3128

原创 json 数据解析

import net.sf.json.JSONArray;import net.sf.json.JSONObject; 模拟数据JSONObject  xCol = {"label":"招聘部门","fieldtype":"VALUE_TYPE_VARCHAR","fx":"","value":"ITEM_RECRUITMENT_DEPARTMEN

2012-09-17 10:24:06 66

原创 DBUtil

 public static Connection getConnection(){     Connection con=null;     try{         con=DriverManager.getConnection(           "jdbc:mysql://localhost:3306/department","root","root"         );     }c...

2012-09-07 14:31:14 92

原创 java 随机获取十六进制颜色代码

public class RandomColor {  public String getRandColor() {  String r, g, b;  Random random = new Random();  r = Integer.toHexString(random.nextInt(256)).toUpperCase();  g = Integer.toHexString(random....

2012-09-07 14:29:40 625

原创 FusionCharts参数的详细说明和功能特性

功能特性animation                    是否动画显示数据,默认为1(True)showNames                    是否显示横向坐标轴(x轴)标签名称rotateNames                是否旋转显示标签,默认为0(False):横向显示showValues                    是否在图表显示对应的数据值,默认为1...

2012-09-07 13:45:31 73

JS 计算日期差

<html>  <head>  <meta  http-equiv="Content-Type"  content="text/html;  charset=gb2312">  <title></title>  </head>   <body>  <scri

2012-09-03 15:39:17 137

空空如也

空空如也

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

TA关注的人

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