Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

8
LINES

< > BotCompany Repo | #1036302 // isValidZipFile

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (11401L/65K).

1  
sbool isValidZipFile(File zip) {
2  
  try {
3  
    assertNempty(listZipFile(zip));
4  
    true;
5  
  } catch print e {
6  
    false;
7  
  }
8  
}

Author comment

Began life as a copy of #1002029

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1036302
Snippet name: isValidZipFile
Eternal ID of this version: #1036302/1
Text MD5: c12c18e544f0addcfb7d52efe07ebff6
Transpilation MD5: e6b7713297c157517ce4296a32f1fa33
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-11-15 13:03:23
Source code size: 130 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 115 / 163
Referenced in: [show references]