Libraryless. Click here for Pure Java version (99L/1K).
1 | set flag LeanMode. |
2 | |
3 | static S loadTextFile_trim(S fileName) { |
4 | ret trim(loadTextFile(fileName)); |
5 | } |
6 | |
7 | static S loadTextFile_trim(File f, S defaultContents) { |
8 | ret trim(loadTextFile(f, defaultContents)); |
9 | } |
10 | |
11 | sS loadTextFile_trim(File fileName) { |
12 | return trim(loadTextFile(fileName)); |
13 | } |
14 | |
15 | sS loadTextFile_trim(S fileName, S defaultContents) { |
16 | ret trim(loadTextFile(fileName, defaultContents)); |
17 | } |
Began life as a copy of #1022206
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1022207 |
Snippet name: | loadTextFile_trim (lean mode) |
Eternal ID of this version: | #1022207/1 |
Text MD5: | 93181edda67111742168911255f9e9e8 |
Transpilation MD5: | 5cadffe3970310d9fb65a6ed6565ba85 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-03-11 11:16:52 |
Source code size: | 409 bytes / 17 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 304 / 364 |
Referenced in: | [show references] |