public class DirectWriter extends Object implements Writer
| 构造器和说明 |
|---|
DirectWriter(String outputFilePath) |
public DirectWriter(String outputFilePath)
public void write(String text) throws WriterException
Writerwrite 在接口中 Writertext - textWriterExceptionpublic void close()
throws WriterException
close 在接口中 Closeableclose 在接口中 AutoCloseableWriterExceptionpublic boolean ifNewLineAfterWrite()
WriterifNewLineAfterWrite 在接口中 WriterCopyright © 2019–2020 Alibaba Group Holding Limited. All rights reserved.