摘要: 阅读全文
posted @ 2017-04-18 18:06 国强则无惧! 阅读(207) 评论(0) 推荐(0) 编辑
摘要: //路径fPixFile filePath = new File(fPix);System.out.print("文件路径:" + filePath);try { if (filePath.isFile() && filePath.exists()) { //判断文件是否存在 PageData te 阅读全文
posted @ 2017-04-18 17:59 国强则无惧! 阅读(882) 评论(0) 推荐(0) 编辑
摘要: public class Test { //连接mysql数据库 public static final String DRIVER_CLASS = "com.mysql.jdbc.Driver"; public static final String URL = "jdbc:mysql://loc 阅读全文
posted @ 2017-04-18 17:45 国强则无惧! 阅读(1399) 评论(0) 推荐(0) 编辑
摘要: break和continue都是用来控制循环结构的,主要是停止循环。 1.break 有时候我们想在某种条件出现的时候终止循环而不是等到循环条件为false才终止。 这是我们可以使用break来完成。break用于完全结束一个循环,跳出循环体执行循环后面的语句。 2.continue continu 阅读全文
posted @ 2017-04-18 13:49 国强则无惧! 阅读(495) 评论(0) 推荐(0) 编辑
摘要: BEGIN declare f_age int;DECLARE incode1 VARCHAR(100);DECLARE incode2 VARCHAR(100);DECLARE incode3 VARCHAR(100);DECLARE incode4 VARCHAR(100);DECLARE in 阅读全文
posted @ 2017-04-18 11:52 国强则无惧! 阅读(3401) 评论(0) 推荐(0) 编辑
摘要: //调用外部脚本String fileips=null;//所有的路径String[] files=null;String fileip=null;//单个路径try { InputStream is = Thread.currentThread().getContextClassLoader(). 阅读全文
posted @ 2017-04-18 11:37 国强则无惧! 阅读(553) 评论(0) 推荐(0) 编辑
摘要: //读取pdf 全部内容public static String topdffile(String pdffile){ StringBuffer result = new StringBuffer(); String str=null; FileInputStream is = null; PDDo 阅读全文
posted @ 2017-04-18 11:00 国强则无惧! 阅读(3712) 评论(0) 推荐(0) 编辑