io - Does java 6 support reading from and writing to the same file at once? -
this branches 2 questions:
i know it's possible create filereader , filewriter same file @ once. filereader , filewriter play each other, i.e., newly written content guaranteed visible reader while both still open? there guaranteed behavior way interact each other?
is possible create 1 entity can read, write, , seek within file? example, equivalent python's
open(filename, "r+")
. if such entity exists, there 1 in java.io or third party?
you can use randomaccessfile
Comments
Post a Comment