Java StringWriter close()方法与示例