How to insert content into the middle of a file without overwriting the existing content?
Location: http://www.jguru.com/faq/view.jsp?EID=111652 Created: Jul 26, 2000 Modified: 2000-07-26 07:35:09.048 Author: John Zukowski (http://www.jguru.com/guru/viewbio.jsp?EID=7) Question originally posed by penta java (http://www.jguru.com/guru/viewbio.jsp?EID=111346 There is no direct support for inserting content in the middle of a file/stream. What you need to do is copy the original content into another file/stream with the new content added where necessary.