Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

9
LINES

< > TinyBrain | #1008019 - unpackSimpleWikipedia

JavaX fragment (include)

static File unpackSimpleWikipedia() {
  File f1 = downloadSimpleWikipedia();
  File f2 = getProgramFile(#1008009, "simplewiki-latest-pages-articles.xml");
  if (!f2.exists()) {
    print("Unpacking...");
    bunzip(f1, f2);
  }
  ret f2;
}

Author comment

Began life as a copy of #1008013

download  show line numbers  debug dex   

Travelled to 1 computer(s): tvejysmllsmz

No comments. add comment

Snippet ID: #1008019
Snippet name: unpackSimpleWikipedia
Eternal ID of this version: #1008019/3
Text MD5: 6ded37d16fd53702ebdc078d0668f9c1
Author: stefan
Category: javax / a.i. / networking
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-04-20 19:06:49
Source code size: 247 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 7 / 2
Version history: 2 change(s)
Referenced in: [show]