public class ExtractWikipedia
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
count |
protected DocMaker |
docMaker |
Constructor and Description |
---|
ExtractWikipedia(DocMaker docMaker,
java.nio.file.Path outputDir) |
Modifier and Type | Method and Description |
---|---|
void |
create(java.lang.String id,
java.lang.String title,
java.lang.String time,
java.lang.String body) |
java.nio.file.Path |
directory(int count,
java.nio.file.Path directory) |
void |
extract() |
static void |
main(java.lang.String[] args) |
public static int count
protected DocMaker docMaker
public ExtractWikipedia(DocMaker docMaker, java.nio.file.Path outputDir) throws java.io.IOException
java.io.IOException
public java.nio.file.Path directory(int count, java.nio.file.Path directory)
public void create(java.lang.String id, java.lang.String title, java.lang.String time, java.lang.String body) throws java.io.IOException
java.io.IOException
public void extract() throws java.lang.Exception
java.lang.Exception
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.