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

6
LINES

< > BotCompany Repo | #1031239 // resourceLoaderFromJarOrDir

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

Libraryless. Click here for Pure Java version (7471L/47K).

static IResourceLoader resourceLoaderFromJarOrDir(File jarOrDir, File unpackDir) {
  if (isDirectory(jarOrDir))
    ret resourceLoaderFromDir(jarOrDir);
  else
    ret resourceLoaderFromJar(jarOrDir, unpackDir);
}

Author comment

Began life as a copy of #1022668

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031239
Snippet name: resourceLoaderFromJarOrDir
Eternal ID of this version: #1031239/2
Text MD5: 10a50acdeb4c30a06530a4c8937b9f9b
Transpilation MD5: cb60657c7373477508a7fe37d85824f2
Author: stefan
Category: javax / packaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-05-24 19:39:36
Source code size: 218 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 166 / 221
Version history: 1 change(s)
Referenced in: [show references]