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)

1  
sS loadTextFile_raw(S fileName) {
2  
  return loadTextFile_raw(newFile(fileName));
3  
}
4  
5  
sS loadTextFile_raw(File file) {
6  
  return loadTextFile_raw(file, null);
7  
}
8  
9  
sS loadTextFile_raw(File f, S defaultContents) {
10  
  ret loadTextFile(f, defaultContents, "ISO-8859-1");
11  
}

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: 202 / 242
Version history: 2 change(s)
Referenced in: [show references]