Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

File handling...

 
Sam
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey ...

i need code for the following (Urgent)..can anyone help me out in this...

open a text document...
given a particular position..(Position given as concerned to the whole file)... take the position value from keyboard..
U hav to manipulate the value that is there..

also to do the same thing given particular position in particular line number...
 
Joe Ess
Bartender
Posts: 9280
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Javaranch, Sam.
First, we are a friendly bunch here, so we ask that you use your real name (first and last, seperated by a space). As our Naming Policy states, accounts with obviously fictitious names will be closed.
You can change your displayed name here.
Second, we consider every topic "urgent" but we're all volunteers here, so we ask that you Ease Up.
Last, a good place to start when learing how to work with files is the Java Tutorial chapter on IO. Have you looked at it?
[ November 18, 2005: Message edited by: Joe Ess ]
 
Marilyn de Queiroz
Sheriff
Posts: 9063
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Sam:
i need code for the following

Let's see the code you already have and we'll go from there.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic