public class WriteEnwikiLineDocTask extends WriteLineDocTask
WriteLineDocTask which for Wikipedia input, will write category pages
to another file, while remaining pages will be written to the original file.
The categories file is derived from the original file, by adding a prefix "categories-".DEFAULT_FIELDS, DEFAULT_SUFFICIENT_FIELDS, FIELDS_HEADER_INDICATOR, fname, SEP| Constructor and Description |
|---|
WriteEnwikiLineDocTask(PerfRunData runData) |
| Modifier and Type | Method and Description |
|---|---|
static java.nio.file.Path |
categoriesLineFile(java.nio.file.Path f)
Compose categories line file out of original line file
|
void |
close() |
protected java.io.PrintWriter |
lineFileOut(Document doc)
Selects output line file by written doc.
|
doLogic, getLogMessage, setParams, supportsParams, writeHeaderclone, getAlgLineNum, getBackgroundDeltaPriority, getDepth, getName, getParams, getRunData, getRunInBackground, isDisableCounting, runAndMaybeStats, setAlgLineNum, setDepth, setDisableCounting, setName, setRunInBackground, setup, shouldNeverLogAtStart, shouldNotRecordStats, stopNow, tearDown, toStringpublic WriteEnwikiLineDocTask(PerfRunData runData) throws java.lang.Exception
java.lang.Exceptionpublic static java.nio.file.Path categoriesLineFile(java.nio.file.Path f)
public void close()
throws java.lang.Exception
close in class WriteLineDocTaskjava.lang.Exceptionprotected java.io.PrintWriter lineFileOut(Document doc)
WriteLineDocTasklineFileOut in class WriteLineDocTaskCopyright © 2000–2025 The Apache Software Foundation. All rights reserved.