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).

sbool isValidZipFile(File zip) {
  try {
    assertNempty(listZipFile(zip));
    true;
  } catch print e {
    false;
  }
}

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: 114 / 162
Referenced in: [show references]