正如XMLStreamWriter一样,该编写器提供了flush和close方法,可分别用于将缓存数据放到底层输出和关闭编写器。
Finally, just like XMLStreamWriter, this writer provides methods flush and close to flush any cached data to the underlying output and close the writer, respectively.
典型的类似流的输出方法,flush 和 close ,可以分别用来促使编写器将任何缓存的数据写入底层输出和关闭编写器对象。
The typical output stream-like methods, flush and close, force the writer to write any cached data to the underlying output, and close the writer object, respectively.
应用推荐