Results 1 to 2 of 2
  1. #1
    anosh is offline Member
    Join Date
    Sep 2014
    Posts
    1
    Rep Power
    0

    Default To parse and update content in a flat file using java

    Hello,

    I am new to Java. I need one help here. I have a flat file (.txt) with contents in a predefined format. I need to parse and look for a particular content and update it. How can i achieve this using Java.

    Thanks in Advance
    Anosh

  2. #2
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    4,143
    Rep Power
    14

    Default Re: To parse and update content in a flat file using java

    Have you tried googling "Java file IO" or "Java read file line by line" or something similar?

    What have you tried so far? What exactly are you confused about? Where are you stuck?

    It's pretty hard to answer general "how do I do this" questions other than by pointing you to google and the basic tutorials.
    How to Ask Questions the Smart Way
    Static Void Games - GameDev tutorials, free Java and JavaScript hosting!
    Static Void Games forum - Come say hello!

Similar Threads

  1. parse java file
    By emanhossny in forum Advanced Java
    Replies: 13
    Last Post: 02-07-2014, 11:04 PM
  2. Flat File Database for Java
    By skania in forum New To Java
    Replies: 4
    Last Post: 06-17-2013, 05:13 PM
  3. Parse log file using java
    By mvg in forum Advanced Java
    Replies: 0
    Last Post: 07-03-2009, 11:36 AM
  4. How to parse an xml file using java
    By karthik84 in forum XML
    Replies: 4
    Last Post: 09-12-2008, 09:38 AM
  5. Replies: 7
    Last Post: 05-23-2008, 03:46 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •