Libraryless. Click here for Pure Java version (6386L/40K).
svoid saveLineCompReaderToFile(LineCompReader lc, File f, O... _) ctex { optPar bool gzip = true; { temp OutputStream gos = gzip ? newGZIPOutputStream(f) : bufferedFileOutputStream(f); temp Writer writer = new OutputStreamWriter(gos, "ISO-8859-1"); temp PrintWriter printWriter = new PrintWriter(writer); lc.save(printWriter); } printFileInfo(f); }
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: | 262 / 393 |
Version history: | 3 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |