1 | public static String loadTextFileStartingFrom(File fileName, int startAt) ctex { |
2 | if (!fileName.exists()) |
3 | return ""; |
4 | |
5 | FileInputStream fileInputStream = new FileInputStream(fileName); |
6 | fileInputStream.skip(startAt); |
7 | InputStreamReader inputStreamReader = new InputStreamReader(fileInputStream, "UTF-8"); |
8 | return loadTextFile(inputStreamReader); |
9 | } |
Began life as a copy of #1001049
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1002887 |
Snippet name: | loadTextFileStartingFrom (function) |
Eternal ID of this version: | #1002887/1 |
Text MD5: | 42223f6db3df3dd2b325933652736b65 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-03-24 19:54:34 |
Source code size: | 381 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 549 / 494 |
Referenced in: | [show references] |