Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

2 Visitor Messages

  1. View Conversation
    Hi friend

    Firstly I am a beginner in Java, Well I have never been into any programming before, but it seems like I need a little help to solve a task. The task is "I've a text file with the size of more than 5 MB, so in that file, I need to clear the contents between the strings CATCH_IN and CATCH_OUT, so whenever CATCH_IN and CATCH_OUT are coming, need to clear the contents between them, after clearing this, white space should come there in the text file I guess and it should also need to be cleared.

    If you are ready to help me out, then i will send over the text file to you..

    Finally , Iím expecting the output would look like below.

    MATCH_START;
    CHANGE;
    PLAY_START
    DFSHDG_FDGSDFGFD"FGFSDG@FSAASDF";
    SDHDG_SADFASF:"FGFSDG_FGSDG";
    SDFASF_FASFFDGFSDSDFA"A";
    SDFSAD_FDGFSDG:"GHFDG";
    DFADSF_DSFSHDG;
    CATCH_IN;
    CATCH_OUT;
    SDFSAD_FDGFSDG:"GHFDG";
    FGSDGGHG:"1033";
    GHJGFH:"FSDGSFDFG";
    SOURCE:"894";
    FGSDFGF:"24";
    SEASOFSDGSFDFGL:"FSDGSFDFG";
    HGDHGD:"64916";
    GFHFDHD:"FSDGSFDFG";
    KEY_INDICATOR:"TRUE";
    REAL_NOMIFSDGSFDFGL:"FSDGSFDFG";
    TIMESTAMP_ATTR:"20.06.14 17:11:28";
    TIMESTAMP_VALUES:"20.06.14 17:11:28";
    TSERIES_END;
    MATCH_START;
    CHANGE;
    PLAY_START
    DFSHDG_FDGSDFGFD"GFSDGSDG@ADSFSF";
    SDHDG_SADFASF:"GFSDGSDG_HDG";
    SDFASF_FASFFDGFSDSDFA"M";
    SDFSAD_FDGFSDG:"GHFDG";
    DFADSF_DSFSHDG;
    CATCH_IN;
    CATCH_OUT;
    -------
    -------
    -------
    if follows ............

    Like this, I need the output for the entire text file, so please e-mail the entire java code for this task, your help would be much appreciated.

    I have to get it done in one day, so I'll look forward to your reply ASAP.

    Please let me know if you need any more information, I will try to do the best to get you that.

    Thanks for your time & kind help!!

    Regards
    your friend
  2. View Conversation
    Hi

    Firstly I am a beginner in Java, Well I have never been into any programming before, but it seems like I need a little help to solve a task. The task is "I've a text file with the size of more than 5 MB, so in that file, I need to clear the contents between the strings CATCH_IN and CATCH_OUT, so whenever CATCH_IN and CATCH_OUT are coming, need to clear the contents between them, after clearing this, white space should come there in the text file I guess and it should also need to be cleared.

    If you are ready to help me out, then i will send over the text file to you..

    Finally , Iím expecting the output would look like below.

    MATCH_START;
    CHANGE;
    PLAY_START
    DFSHDG_FDGSDFGFD"FGFSDG@FSAASDF";
    SDHDG_SADFASF:"FGFSDG_FGSDG";
    SDFASF_FASFFDGFSDSDFA"A";
    SDFSAD_FDGFSDG:"GHFDG";
    DFADSF_DSFSHDG;
    CATCH_IN;
    CATCH_OUT;
    SDFSAD_FDGFSDG:"GHFDG";
    FGSDGGHG:"1033";
    GHJGFH:"FSDGSFDFG";
    SOURCE:"894";
    FGSDFGF:"24";
    SEASOFSDGSFDFGL:"FSDGSFDFG";
    HGDHGD:"64916";
    GFHFDHD:"FSDGSFDFG";
    KEY_INDICATOR:"TRUE";
    REAL_NOMIFSDGSFDFGL:"FSDGSFDFG";
    TIMESTAMP_ATTR:"20.06.14 17:11:28";
    TIMESTAMP_VALUES:"20.06.14 17:11:28";
    TSERIES_END;
    MATCH_START;
    CHANGE;
    PLAY_START
    DFSHDG_FDGSDFGFD"GFSDGSDG@ADSFSF";
    SDHDG_SADFASF:"GFSDGSDG_HDG";
    SDFASF_FASFFDGFSDSDFA"M";
    SDFSAD_FDGFSDG:"GHFDG";
    DFADSF_DSFSHDG;
    CATCH_IN;
    CATCH_OUT;
    -------
    -------
    -------
    if follows ............

    Like this, I need the output for the entire text file, so please e-mail the entire java code for this task, your help would be much appreciated.

    I have to get it done in one day, so I'll look forward to your reply ASAP.

    Please let me know if you need any more information, I will try to do the best to get you that.

    Thanks for your time & kind help!!

    Regards
    your friend
Showing Visitor Messages 1 to 2 of 2
About bheemudu.neeli@gmail.com

Basic Information

About bheemudu.neeli@gmail.com
Java Skill Level:
Advanced

Statistics


Total Posts
Total Posts
2
Posts Per Day
0.00
Visitor Messages
Total Messages
2
Most Recent Message
July 3rd, 2013 08:30 AM
Total Thanks
Total Thanks
0
  • Thanked 0 Times in 0 Posts
General Information
Last Activity
July 3rd, 2013 11:14 PM
Join Date
July 2nd, 2013