摘要: public static void partitionPdfFile(String pdfFile, String newFile, int from, int end) { Document document = null; PdfCopy copy = null; try { PdfReade 阅读全文
posted @ 2020-06-23 17:52 车车12138 阅读(1727) 评论(0) 推荐(0) 编辑
摘要: 取出一个字符串中的所有数字并不难,但是怎么分组取出这些数字呢?比如:123和234以及1255,这样一个字符串,需要取出来的结果为 : 123、234、1255,而不是取出单个数字或取出的结果集为全部数据。 Pattern p = Pattern.compile("-?\\d+"); Matcher 阅读全文
posted @ 2020-06-23 17:49 车车12138 阅读(914) 评论(0) 推荐(0) 编辑