摘要: /** * 方法描述:<b>给图片增加水印.</b></br> * 备 注: 在图片上写字符串 * 创 建 人: bo.gaobo</br> * 创建日期: 2012-09-07</br> * @param originalUrl 原始图片存储路径 * @param oldImg 原图片 * @param str 增加的字符串 * @param xLocation x坐标 * @param yLocation y坐标 * @param fontColor 颜色 * @param fontSize 字号 ... 阅读全文
posted @ 2012-09-12 18:18 积累从点滴开始 阅读(1344) 评论(0) 推荐(0) 编辑
摘要: public static void copyFile(File sourceFile, File targetFile){ try { //新建文件输入流并对它进行缓冲 FileInputStream input = new FileInputStream(sourceFile); BufferedInputStream inBuff=new BufferedInputStream(input); //新建文件输出流并对它进行缓冲 FileOutputStream output = new FileOutputStream(targetF... 阅读全文
posted @ 2012-09-12 18:17 积累从点滴开始 阅读(199) 评论(0) 推荐(0) 编辑