1 | static Reader readerForFile(File f) ctex { |
2 | assertTrue("File not found", f.exists()); |
3 | if (ewic(f.getName(), ".gz")) |
4 | ret utf8bufferedReader(newGZIPInputStream(f)); |
5 | ret utf8bufferedReader(f); |
6 | } |
Began life as a copy of #1011460
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: | #1011774 |
Snippet name: | readerForFile - also handles .gz files |
Eternal ID of this version: | #1011774/1 |
Text MD5: | 1d28dbf9b5a9b9dfa7060e6c6edc2d63 |
Author: | stefan |
Category: | javax / i.o. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-11-05 02:50:32 |
Source code size: | 205 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 412 / 448 |
Referenced in: | [show references] |