protected class ProtwordsFile.SynonymUpdater extends Object implements Closeable
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isCommit |
protected ProtwordsItem |
item |
protected File |
newFile |
protected Writer |
writer |
| Modifier | Constructor and Description |
|---|---|
protected |
SynonymUpdater(ProtwordsItem newItem) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
ProtwordsItem |
commit() |
ProtwordsItem |
write(ProtwordsItem oldItem) |
void |
write(String line) |
protected boolean isCommit
protected File newFile
protected Writer writer
protected ProtwordsItem item
protected SynonymUpdater(ProtwordsItem newItem)
public ProtwordsItem write(ProtwordsItem oldItem)
public void write(String line)
public ProtwordsItem commit()
public void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2009–2017 CodeLibs. All rights reserved.