J
Jack Vamvas
I am running the following code:
try{
DataOutputStream out2 = new DataOutputStream(new
BufferedOutputStream(
new FileOutputStream("C:\\mytext.txt")));
out2.write("Line1:");
} catch(IOException e) {
throw new RuntimeException(e);
}
The problem I have is how do I add the text at the end of the existing
text.For example,if there are already 3 lines in mytext.txt how can I make
my entry the fouth line?
Jack
___________________________________________________________________
Remotely manage MS SQL db with SQLdirector -
www.ciquery.com/tools/sqldirector/
try{
DataOutputStream out2 = new DataOutputStream(new
BufferedOutputStream(
new FileOutputStream("C:\\mytext.txt")));
out2.write("Line1:");
} catch(IOException e) {
throw new RuntimeException(e);
}
The problem I have is how do I add the text at the end of the existing
text.For example,if there are already 3 lines in mytext.txt how can I make
my entry the fouth line?
Jack
___________________________________________________________________
Remotely manage MS SQL db with SQLdirector -
www.ciquery.com/tools/sqldirector/