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 File |
categoriesLineFile(File 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, writeHeader
clone, getBackgroundDeltaPriority, getDepth, getName, getParams, getRunData, getRunInBackground, isDisableCounting, runAndMaybeStats, setDepth, setDisableCounting, setName, setRunInBackground, setup, shouldNeverLogAtStart, shouldNotRecordStats, stopNow, tearDown, toString
public WriteEnwikiLineDocTask(PerfRunData runData) throws Exception
Exception
public static File categoriesLineFile(File f)
public void close() throws Exception
close
in class WriteLineDocTask
Exception
protected PrintWriter lineFileOut(Document doc)
WriteLineDocTask
lineFileOut
in class WriteLineDocTask
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.