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.IOExceptionpublic 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.IOExceptionpublic void extract()
throws java.lang.Exception
java.lang.Exceptionpublic static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.ExceptionCopyright © 2000–2025 The Apache Software Foundation. All rights reserved.