Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
common
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
曲欣亮
common
Commits
1a22fe0d
Commit
1a22fe0d
authored
Mar 13, 2024
by
张永
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
3b0db1c1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ZipUtil.java
src/main/java/com/egolm/common/ZipUtil.java
+4
-4
No files found.
src/main/java/com/egolm/common/ZipUtil.java
View file @
1a22fe0d
...
...
@@ -172,11 +172,11 @@ public final class ZipUtil {
}
public
static
void
main
(
String
[]
args
)
{
/*String targetPath = "D:\\data\\erp\\91330110MA2B16CL0G
";
String
targetPath
=
"d:/data/erp//excel/B00056/8/600001.一铭食品(上海)_报告下载_20240306/
"
;
File
file
=
ZipUtil
.
zip
(
targetPath
);
System.out.println(file.getName());
*/
File
file
=
new
File
(
"C:\\Users\\zhangyong\\Desktop\\excel\\[7777]2021-01-14.zip"
);
ZipUtil
.
unzip
(
file
,
"C:\\Users\\zhangyong\\Desktop\\excel\\"
);
System
.
out
.
println
(
file
.
getName
());
/*
File file = new File("C:\\Users\\zhangyong\\Desktop\\excel\\[7777]2021-01-14.zip");
ZipUtil.unzip(file, "C:\\Users\\zhangyong\\Desktop\\excel\\");
*/
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment