Classification: For internal use only

Nick,

I don't think your statement (comment #3) is a exactly correct one. Windows 
does allow simultaneous read AND write on a single instance of the File object. 
It can be obtained through the RandomFileAccess object that can read and write 
at the same time ("rw" argument in the constructor). That being said, I don't 
know if this is useful to POI at all if in POI you access files through streams 
that are already implemented. If, on the other hand, you are interested only in 
low level byte read/write you can do it through random access file object.

Mladen Covic

-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Tuesday, March 12, 2013 1:44 PM
To: [email protected]
Subject: [Bug 54654] Can not use same file for reading and writing a Workbook

https://issues.apache.org/bugzilla/show_bug.cgi?id=54654

Nick Burch <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Nick Burch <[email protected]> --- It's a standard 
restriction on windows, nothing POI specific. You'll either need to use a 2nd 
file, or close the original one before trying to write out to it. Or switch to 
an OS without the restrictions!

--
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected] For additional commands, 
e-mail: [email protected]


---
This communication may contain confidential and/or privileged information. If 
you are not the intended recipient (or have received this communication in 
error) please notify the sender immediately and destroy this communication. Any 
unauthorized copying, disclosure or distribution of the material in this 
communication is strictly forbidden.

Deutsche Bank does not render legal or tax advice, and the information 
contained in this communication should not be regarded as such.

Reply via email to