Libraryless. Click here for Pure Java version (6386L/40K).
1 | svoid saveLineCompReaderToFile(LineCompReader lc, File f, O... _) ctex { |
2 | optPar bool gzip = true; |
3 | { |
4 | temp OutputStream gos = gzip ? newGZIPOutputStream(f) : bufferedFileOutputStream(f); |
5 | temp Writer writer = new OutputStreamWriter(gos, "ISO-8859-1"); |
6 | temp PrintWriter printWriter = new PrintWriter(writer); |
7 | lc.save(printWriter); |
8 | } |
9 | printFileInfo(f); |
10 | } |
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: | #1029328 |
Snippet name: | saveLineCompReaderToFile |
Eternal ID of this version: | #1029328/4 |
Text MD5: | 956afaea189bf087a2fd086542d810e2 |
Transpilation MD5: | 5418cadb4a67a6d121c31627bee7ad27 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-08-06 14:40:26 |
Source code size: | 381 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 263 / 394 |
Version history: | 3 change(s) |
Referenced in: | [show references] |