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

3
LINES

< > BotCompany Repo | #1031316 // loadTextFileResource

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

Libraryless. Click here for Pure Java version (2806L/17K).

sS loadTextFileResource(ClassLoader cl, S name) {
  ret inputStreamToString(cl.getResourceAsStream(name));
}

Author comment

Began life as a copy of #1029756

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1031316
Snippet name: loadTextFileResource
Eternal ID of this version: #1031316/1
Text MD5: b54054299d9f93e74f5c0493882243c1
Transpilation MD5: 88069254f2904893b9ac39202e701284
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-04 22:54:54
Source code size: 110 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 187 / 270
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)