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 Path |
categoriesLineFile(Path f)
Compose categories line file out of original line file
|
void |
close() |
protected 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 Exception
Exceptionpublic static Path categoriesLineFile(Path f)
public void close()
throws Exception
close in class WriteLineDocTaskExceptionprotected PrintWriter lineFileOut(Document doc)
WriteLineDocTasklineFileOut in class WriteLineDocTaskCopyright © 2000-2024 Apache Software Foundation. All Rights Reserved.