自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 list 转换 map

public static Map> findByIdMap(PlanInfo plan) {  Map> map = new HashMap>();  List helplist = plan.getPointList();  List list = null;  int day = 1;  for (int i = 0; i    if (i == 0)    li

2013-03-18 10:50:55 525

原创 过滤html

public static String removeTagFromText(String content) {  Pattern p = null;  Matcher m = null;  String value = null;  // 去掉  p = Pattern.compile("(]*>)");  m = p.matcher(content);  Strin

2013-03-18 10:47:20 487

原创 创建路径

import java.io.File;/**  * 构建路径  * @param stopath   * @return  */ public static String getPathPath(String stopath){     // path : stopath/planpdf/ym/dd/     DateFormat ym = new SimpleD

2013-03-18 10:34:09 631

原创 iText pdf下载-未整理完

public List getmapstr(List list){  List mapstr = new ArrayList();  StringBuffer markers = new StringBuffer();     StringBuffer markerStyles = new StringBuffer();     StringBuffer markersdes =

2013-03-14 16:43:38 1401

转载 ItextAsian中文字体

使用iTextAsian.jar中的字体  BaseFont.createFont("STSong-Light", "UniGB-UCS2-H",BaseFont.NOT_EMBEDDED);2、使用Windows系统字体(TrueType)  BaseFont.createFont("C:/WINDOWS/Fonts/SIMYOU.TTF", BaseFont.IDENTITY_H,

2013-03-13 11:10:56 2891

原创 图片上传

方法体@RequestMapping(value = "/upload", method = RequestMethod.POST) public void processImageUpload(@RequestParam("img") MultipartFile file, HttpServletRequest request, HttpServletResponse response)

2012-11-12 16:48:05 361

原创 excel 下载

导入的包import java.io.BufferedInputStream;import java.io.File;import java.io.FileInputStream;import java.io.FileNotFoundException;import java.io.FileOutputStream;import java.io.IOException;

2012-11-12 16:39:18 373

空空如也

空空如也

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

TA关注的人

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