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

11
LINES

< > BotCompany Repo | #1029307 // loadTextFile_raw (use ISO-8859-1)

JavaX fragment (include)

sS loadTextFile_raw(S fileName) {
  return loadTextFile_raw(newFile(fileName));
}

sS loadTextFile_raw(File file) {
  return loadTextFile_raw(file, null);
}

sS loadTextFile_raw(File f, S defaultContents) {
  ret loadTextFile(f, defaultContents, "ISO-8859-1");
}

Author comment

Began life as a copy of #1001049

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1029307
Snippet name: loadTextFile_raw (use ISO-8859-1)
Eternal ID of this version: #1029307/3
Text MD5: 461ef860b0d461cd06188631762c6dac
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-30 18:09:39
Source code size: 272 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 129 / 166
Version history: 2 change(s)
Referenced in: [show references]