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

17
LINES

< > BotCompany Repo | #1022207 // loadTextFile_trim (lean mode)

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

Libraryless. Click here for Pure Java version (99L/1K).

set flag LeanMode.

static S loadTextFile_trim(S fileName) {
  ret trim(loadTextFile(fileName));
}

static S loadTextFile_trim(File f, S defaultContents) {
  ret trim(loadTextFile(f, defaultContents));
}

sS loadTextFile_trim(File fileName) {
  return trim(loadTextFile(fileName));
}

sS loadTextFile_trim(S fileName, S defaultContents) {
  ret trim(loadTextFile(fileName, defaultContents));
}

Author comment

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