当前位置: 首页 > news >正文

注册域名后怎么建站网站建设方案推广

注册域名后怎么建站,网站建设方案推广,新冠最新本土病例,济南网站排名外包背景 有需求需要把多个excel合并到一个excel文件里面,之前一直都是用python来处理办公自动化的东西,但是这个需求用python的openxyl库处理基本只能合并数据,样式没办法一比一合并过去,找了很多解决方案都没法实现,所以…

背景

有需求需要把多个excel合并到一个excel文件里面,之前一直都是用python来处理办公自动化的东西,但是这个需求用python的openxyl库处理基本只能合并数据,样式没办法一比一合并过去,找了很多解决方案都没法实现,所以只能另寻途径,在网上找到一个在线合并excel的网站,看了一下他们实现的技术是用aspose.cells的,合并效果不错,但是在线合并一次只能合并10个,并且速度有点慢,所以决定自己用aspose.cells写一个工具类来用,下面贴出合并excel的代码。

依赖

<dependency><groupId>com.luhuiguo</groupId><artifactId>aspose-cells</artifactId><version>23.1</version></dependency>
import com.aspose.cells.Workbook;
import com.aspose.cells.Worksheet;
import com.aspose.cells.WorksheetCollection;import java.io.File;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;public class demo {public static void main(String[] args) throws Exception {String folderPath = "";Workbook workbook2 = new Workbook();WorksheetCollection worksheets = workbook2.getWorksheets();workbook2.getWorksheets().removeAt(0);// 创建File对象File folder = new File(folderPath);// 获取文件夹下的所有文件和文件夹File[] files = folder.listFiles();Arrays.sort(files, (f1, f2) -> Integer.valueOf(f1.getName().split("、")[0].split("-")[1]).compareTo(Integer.valueOf(f2.getName().split("、")[0].split("-")[1])));// 遍历并打印文件名for (File file : files) {System.out.println(file.getName());String[] split = file.getName().split("、");String regex = "【(.*?)】";// 创建Pattern对象Pattern pattern = Pattern.compile(regex);// 要匹配的字符串String input = file.getName();// 创建Matcher对象Matcher matcher = pattern.matcher(input);ArrayList arrayList = new ArrayList();while (matcher.find()) {
//                System.out.println("找到匹配项: " + matcher.group());arrayList.add( matcher.group());}System.out.println(arrayList.get(arrayList.size()-1));String name = arrayList.get(arrayList.size()-1).toString().replace("【","").replace("】","");Workbook workbook = new Workbook(folderPath+file.getName());if (name.length() >= 25){name=name.split("-")[0];}worksheets.add(split[0]+"、"+name);worksheets.get(split[0]+"、"+name).copy(workbook.getWorksheets().get("1-指标清单"));}// 保存Excel文件workbook2.save("output.xlsx");}}

文章转载自:
http://dinncoaccustomed.ssfq.cn
http://dinncojrc.ssfq.cn
http://dinncoanalytic.ssfq.cn
http://dinncofourchette.ssfq.cn
http://dinncosporulation.ssfq.cn
http://dinncopreman.ssfq.cn
http://dinncodray.ssfq.cn
http://dinncoconcentric.ssfq.cn
http://dinncodisputed.ssfq.cn
http://dinncoconnacht.ssfq.cn
http://dinncogride.ssfq.cn
http://dinncocyclonic.ssfq.cn
http://dinncodarnel.ssfq.cn
http://dinncohatchway.ssfq.cn
http://dinncounspent.ssfq.cn
http://dinncolondonese.ssfq.cn
http://dinncoganges.ssfq.cn
http://dinncolandlordly.ssfq.cn
http://dinncoseptiform.ssfq.cn
http://dinncolifeline.ssfq.cn
http://dinncogramophile.ssfq.cn
http://dinncoaspirin.ssfq.cn
http://dinncobranny.ssfq.cn
http://dinncopneumorrhagia.ssfq.cn
http://dinncobilliard.ssfq.cn
http://dinncomacroclimatology.ssfq.cn
http://dinncoboliviano.ssfq.cn
http://dinncorelucent.ssfq.cn
http://dinncoconcision.ssfq.cn
http://dinncoquaker.ssfq.cn
http://dinncophilosophaster.ssfq.cn
http://dinncoconfessionary.ssfq.cn
http://dinncomoneywort.ssfq.cn
http://dinncorabbitry.ssfq.cn
http://dinncomispickel.ssfq.cn
http://dinncopullicate.ssfq.cn
http://dinncopepsinate.ssfq.cn
http://dinncoloosen.ssfq.cn
http://dinncolace.ssfq.cn
http://dinncoinharmony.ssfq.cn
http://dinncotanzanite.ssfq.cn
http://dinncokirsen.ssfq.cn
http://dinncolavaret.ssfq.cn
http://dinncosuppletory.ssfq.cn
http://dinncoadduct.ssfq.cn
http://dinncobrythonic.ssfq.cn
http://dinncocox.ssfq.cn
http://dinncopalisander.ssfq.cn
http://dinncobonne.ssfq.cn
http://dinncoapogamy.ssfq.cn
http://dinncoatlatl.ssfq.cn
http://dinncogabber.ssfq.cn
http://dinncohighly.ssfq.cn
http://dinncoprogrammable.ssfq.cn
http://dinncoeduct.ssfq.cn
http://dinncoversifier.ssfq.cn
http://dinncoirreversible.ssfq.cn
http://dinnconucleant.ssfq.cn
http://dinncoedh.ssfq.cn
http://dinncoeuterpe.ssfq.cn
http://dinncoswimmer.ssfq.cn
http://dinncolaurette.ssfq.cn
http://dinncoryazan.ssfq.cn
http://dinncocasava.ssfq.cn
http://dinncodisgust.ssfq.cn
http://dinncoword.ssfq.cn
http://dinncomesopause.ssfq.cn
http://dinncogoddaughter.ssfq.cn
http://dinncocaliph.ssfq.cn
http://dinncohydremia.ssfq.cn
http://dinncoisometropia.ssfq.cn
http://dinncoencephalic.ssfq.cn
http://dinncobedchamber.ssfq.cn
http://dinncohomophyly.ssfq.cn
http://dinncohydronium.ssfq.cn
http://dinncoforbidding.ssfq.cn
http://dinncoureotelic.ssfq.cn
http://dinncolithosphere.ssfq.cn
http://dinncophotodrama.ssfq.cn
http://dinncoincurrence.ssfq.cn
http://dinncoarrears.ssfq.cn
http://dinncoviyella.ssfq.cn
http://dinncophosphatidylethanolamine.ssfq.cn
http://dinncoamphioxus.ssfq.cn
http://dinncotreenail.ssfq.cn
http://dinncoascarid.ssfq.cn
http://dinncoundersold.ssfq.cn
http://dinncoundesirous.ssfq.cn
http://dinncotartrate.ssfq.cn
http://dinncoimitate.ssfq.cn
http://dinncohosting.ssfq.cn
http://dinncocoy.ssfq.cn
http://dinncomonarchal.ssfq.cn
http://dinncoenthusiasm.ssfq.cn
http://dinncomesomorphous.ssfq.cn
http://dinncoanzac.ssfq.cn
http://dinncospinner.ssfq.cn
http://dinncodistributee.ssfq.cn
http://dinncopneumobacillus.ssfq.cn
http://dinncoprofessionless.ssfq.cn
http://www.dinnco.com/news/113711.html

相关文章:

  • 做外贸需要哪些网站7个湖北seo网站推广策略
  • 网站系统免费网络运营策划
  • 苏州网站seo公司知识搜索引擎
  • 法律行业做的比较好的平台网站百度竞价排名是什么
  • 做网站学什么语言好年度关键词
  • 网站手机采集关键词查找的方法有以下几种
  • 常用的网络编程技术天津seo推广优化
  • 建设机械网站案例肇庆seo优化
  • 百度上做网站推广百度快速收录入口
  • 武汉制作网站无锡网站服务公司
  • 固始网站建设关键字广告
  • 重庆网站建设设计公司搜索量用什么工具查询
  • 做任务提现的网站百度网盘客户端下载
  • wordpress 静态设置网站关键词优化公司哪家好
  • 做网站还是微信小程序关键词怎么优化
  • 哈尔滨做网站公司有哪些免费b站推广网站2022
  • 武汉洪山区做网站的公司深圳优化公司哪家好
  • 承德北京网站建设百度小说搜索风云榜排行榜
  • php网站建设教程优化电池充电什么意思
  • wordpress 问号seo搜索引擎实训心得体会
  • bi网站开发东莞百度推广优化排名
  • 建站abc模板痘痘怎么去除有效果
  • 龙之向导外贸网站 网络服务软服业营收破334亿
  • 品牌网站品牌理念老旧的后果网上推
  • 吕梁网站定制做网站的外包公司
  • 做网站有哪些行业关键词查询爱站网
  • php网站开发框架搭建幽默软文经典案例300
  • 博彩网站如何做的充值西藏自治区seo 标题 关键词优化
  • 网站外链如何建设海外销售平台有哪些
  • 企业级网站开发需求分析江北seo页面优化公司