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

6
LINES

< > BotCompany Repo | #1025018 // loadMandatoryTextFileFromZip

JavaX fragment (include)

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

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