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

8
LINES

< > BotCompany Repo | #1033430 // addMegaLibrary

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

Libraryless. Click here for Pure Java version (6858L/40K).

static Pair<L<File>> addMegaLibrary(ClassLoader cl, S snippetID) {
  var jars = allJarFiles(unpackZipLibrary(snippetID));
  new L<File> added;
  new L<File> alreadyThere;
  for (jar : jars)
    (addByteCodePathToClassLoader(cl, jar) ? added : alreadyThere).add(jar);
  ret pair(added, alreadyThere);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, ekrmjmnbrukm, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033430
Snippet name: addMegaLibrary
Eternal ID of this version: #1033430/2
Text MD5: 5ee328bb57a91ea7c5a682c97b863455
Transpilation MD5: f99f23fd8489aa9ece4a00d93c781a62
Author: stefan
Category: javax / io
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-27 13:45:21
Source code size: 308 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 144 / 207
Version history: 1 change(s)
Referenced in: [show references]