当前位置:网站首页>[work details] March 18, 2020
[work details] March 18, 2020
2022-06-26 10:46:00 【Pig man blogs】
The epidemic is not over yet , I had to isolate myself in the rental house , I was thinking about telecommuting , The boss should not arrange many things for me .
in fact ...
Very few things indeed ! This gives me my own time , Make a thesis , Look at the video . Sleep till more than nine in the morning , Get up and get ready , Turn on the computer , Look at the news , A cup of hot water , Hold it in your hand , This is not my old life in the future ??
The morning passed comfortably ..

Afternoon , Start writing papers , Start working on the permissions section , I still don't have enough skills , I feel a little dizzy , Just when I was dizzy , The boss called !!
Toot toot ...( A burst of conversation )
Boss : Xiao Zhu , There should be hundreds of enterprises here , You've arranged , use excle Just send it to me .
I : well ~
.
Look at the hundreds of enterprises on this page , There are more than a dozen in one field , My heart is broken !!!
But there's no way , Who calls me a hard-working worker
Start my madness ctrl+c!!!
I know my fingers are numb , That won't be possible , We have to find a way
Method 1.0
- I arrange my copied enterprise information in this way

- Start using java Of io flow First use BufferedReader Read the file
- Reuse readline Method , Read line by line
- Reuse split, Division “:”, Just take the data on the right , That's it
String fileName = "";// File path
File file = new File(fileName);
BufferedReader reader = null;
try {
reader = new BufferedReader(new FileReader(file));
String readerTemp = null;
while ((readerTemp = reader.readLine()) != null) {
boolean flag = (readerTemp != "");
if (!readerTemp.contains(" Business address :") || "".equals(readerTemp)) {
continue;
}
String[] arr = readerTemp.split(":");
System.out.println(arr[1].trim());
}
reader.close();
} catch (FileNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
finally {
if (reader != null) {
try {
reader.close();
} catch (IOException e1) {
}
}
}
}

Copy these to excle in , At least it is much faster than manual operation .
Be accomplished !
It will be improved in the future ,jsoup Crawl the page , Plus generation excle, Let this kind of thing no longer be a stumbling block to oneself
A pig man who has been on the road , invincible , invincible !
边栏推荐
- MySQL第五章总结
- Win10 start FTP service and set login authentication
- Plookup table in appliedzkp zkevm (8)
- Vscode environment setup: synchronous configuration
- 【在线仿真】Arduino UNO PWM 控制直流电机转速
- Global and Chinese markets of children's electronic thermometers 2022-2028: Research Report on technology, participants, trends, market size and share
- MySQL第四章总结
- Developers, what is the microservice architecture?
- Jar version conflict resolution
- JS reverse | four libraries and one platform response data encryption
猜你喜欢

MySQL第十四次作业--电子商城项目

Adaptiveavgpool2d does not support onnx export. Customize a class to replace adaptiveavgpool2d

MySQL第十次作业-视图

Nuxt. JS - learning notes

Alibaba cloud OSS - object storage service (tool)
![[software project management] sorting out knowledge points for final review](/img/13/823faa0607b88374820be3fce82ce7.png)
[software project management] sorting out knowledge points for final review

MySQL 10th job - View

Fabric.js 上划线、中划线(删除线)、下划线

工程数学概率论统计简明教程第二版复习大纲

MySQL 9th job - connection Query & sub query
随机推荐
CentOS安装Redis多主多从集群
Flutter与原生通信(上)
Under the double reduction, the amount of online education has plummeted. Share 12 interesting uses of webrtc
基础-MySQL
Blog article index Summary - wechat games
JS reverse | four libraries and one platform response data encryption
SQL Server foundation introduction collation
Dynamic library connection - symbol conflict - global symbol intervention
Plookup table in appliedzkp zkevm (8)
See how I store integer data in the map < string, string > set
appliedzkp zkevm(8)中的Plookup Table
搜索引擎高级搜索方法记录
Yarn package management tool
磁带库简单记录1
MySQL 10th job - View
開發者,微服務架構到底是什麼?
Getting started with postman
Is it safe to use flush mobile phones to speculate in stocks? How to fry stocks with flush
MySQL project 8 summary
MySQL第十四次作业--电子商城项目