• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

File handling...

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Sheriff
Posts: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic