public class CorrectedWordsFileWriter
extends java.lang.Object
Constructor and Description |
---|
CorrectedWordsFileWriter(java.util.List<CorrectedWord> correctedWords,
java.lang.String outputFileName,
boolean append)
Create corrected words file writer.
|
Modifier and Type | Method and Description |
---|---|
protected void |
writeCorrectedWords(java.util.List<CorrectedWord> correctedWords,
java.lang.String outputFileName,
boolean append)
Writes corrected words to file.
|
public CorrectedWordsFileWriter(java.util.List<CorrectedWord> correctedWords, java.lang.String outputFileName, boolean append) throws java.io.IOException
correctedWords
- List of corrected words to output.outputFileName
- Output file name.append
- True to append to existing contents.java.io.IOException
protected void writeCorrectedWords(java.util.List<CorrectedWord> correctedWords, java.lang.String outputFileName, boolean append) throws java.io.IOException
correctedWords
- List of corrected words to output.outputFileName
- The output file name.append
- True to append to existing contents.java.io.IOException