gpt4 book ai didi

java - 哪个平台不允许多个 FileWriters 在一个文件上打开

转载 作者:行者123 更新时间:2023-11-30 11:28:22 28 4
gpt4 key购买 nike

FileWriter 的 JAVA 文档说

Whether or not a file is available or may be created depends upon the * underlying platform. *Some platforms, in particular, allow a file to be * opened for writing by only one* FileWriter (or other file-writing * object) at a time. In such situations the constructors in this class * will fail if the file involved is already open."

我需要知道哪些平台不允许在一个文件上使用多个 FIleWriter

谢谢

最佳答案

Windows 平台不允许在同一个文件上使用多个 FileWriter。

关于java - 哪个平台不允许多个 FileWriters 在一个文件上打开,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18886892/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com