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

6
LINES

< > BotCompany Repo | #1025018 // loadMandatoryTextFileFromZip

JavaX fragment (include)

sS loadMandatoryTextFileFromZip(File inZip, S fileName) {
  S text = loadTextFileFromZipFile(inZip, fileName);
  if (text == null)
    fail("File " + fileName + " not found in archive " + f2s(inZip));
  ret text;
}

Author comment

Began life as a copy of #1002104

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1025018
Snippet name: loadMandatoryTextFileFromZip
Eternal ID of this version: #1025018/1
Text MD5: 944f550b9708311921925e69f4e5fc7f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-09-01 12:54:36
Source code size: 219 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 125 / 165
Referenced in: [show references]