Search:

Type: Posts; User: jayraj

Search: Search took 0.25 seconds.

  1. Re: Java code, Try to put header in all text file in folder using textarea, please help me

    Thanks you so much. I got.. it:) Thanks you so much once again.. now i understand.. thanks you so much for your explanation.. that's good!!:)
  2. Java code, Try to put header in all text file in folder using textarea, please help me

    trying to write code to put header in all the text files in folder and create output text file.. in different folder.. I wrote the code.. using textarea put header in it and using string actually its...
  3. Re: Java code Split text file into multiple text file

    didn't get confused again.... if i put comma.. than.. it will read every line.. but we need when traynumber changed.. how many times.. so...
  4. Re: Java code Split text file into multiple text file

    so where i need to add that code??

    --- Update ---

    I got confused in this part.. because its has comma in every fields.. so....
  5. Re: Java code Split text file into multiple text file

    < import javax.swing.JFileChooser;
    import javax.swing.filechooser.FileNameExtensionFilter;

    import java.io.BufferedReader;
    import java.io.File;
    import java.io.FileReader;
    import...
  6. Re: Java code Split text file into multiple text file

    dude, I am not telling you to write code for me.. I just trying to tell you that.. which steps are good.. I mean which comes 1, 2, 3.. And you are right, I need to understand step first before write...
  7. Re: Java code Split text file into multiple text file

    What do you mean?? i didn't understand you!! really sorry for.. its due tomorrow.. I need to finish that today.. its final project.. so please help me..
  8. Re: Java code Split text file into multiple text file

    If you think that it will take several steps.. so what you want me to do.. do you have any idea.. how can i write code in simple steps..
    please let me know.. really need help actually..
  9. Re: Java code Split text file into multiple text file

    that's part i am trying to tell you..
    1) choose text file.. done
    2) look over that text file and traynumber field.. and how many times tray number changed.. suppose it like 3 times than
    3) make...
  10. Re: Java code Split text file into multiple text file

    Well
    Step 2) read whole file but is not required.. I just write code for that.. to understand better..
    soo
    basically need to write code to

    to look over traynumber field.. where tray number...
  11. Re: Java code Split text file into multiple text file

    Step 1) choose text file from computer = Done
    Step 2) read that text file = Done
    Step 3) look to traynumber where tray number changed create new text files. 1 line is fields it should be same in...
  12. Re: Java code Split text file into multiple text file

    create multiple text files and split text. like in 1 file tray number only 1 and other data and 2 file tray number 2 and other data..... I don't know code for that actually..
  13. Re: Java code Split text file into multiple text file

    Hey, I write the code for first part its work good..
    so its select only text file from computer and read that file.
    But Confused second part what is code for that.. how is look like i don't...
  14. Re: Java code Split text file into multiple text file

    Well, I know first part, To Choose text file from Computer and read that file.
    Confused 2nd part to Create multiple text file samename traynumber1,2.....
    Please help with second part if you can....
  15. Java code Split text file into multiple text file

    Trying to write Java code to choose text file from computer and split into multiple text file based on field information

    Text file select:

    "First Name","Last Name","Address Line 1","Address...
  16. Replies
    6
    Views
    853

    Re: Import text file to mysql

    I know how to add fields manually in table. but I want to write the code to create fields itself as in text file first line is columns in table. i don't have to go to code every time and add columns...
  17. Replies
    6
    Views
    853

    Re: Import text file to mysql

    Java programming. I din't finish the code yet but I don't how to create table fields its first line in text file..
    so

    Problem in this line:

    String sql = "create table " +...
  18. Replies
    6
    Views
    853

    Re: Import text file to mysql

    Hey Thank you so much for your quick replay

    Try to write the code to choose text file and create table as an text file. but i got problem when i create fields in table fields name is in text file...
  19. Replies
    6
    Views
    853

    Import text file to mysql

    Java code to Import text file to mysql
    1) choose text file from computer
    2) read that line by line
    3) connect to mysql database
    4) create table as an text file name
    5) first line in text...
Results 1 to 19 of 19