Results 1 to 14 of 14

Thread: Hello

  1. #1
    hayatt08 is offline Member
    Join Date
    Sep 2008
    Location
    LEBANON
    Posts
    5
    Rep Power
    0

    Default Hello

    Hello, I received a CD with Java files rfile000.000 and rfile001.000, I am able to read these files record by record through the application. But I need to extract the data to excel or listed all records if possible. But as I see that the file extension that I can read with Java are txt or dat.

    I am new on Java. Can someone help me pls.

    Thanks in advance
    hayatt08

  2. #2
    serjant's Avatar
    serjant is offline Senior Member
    Join Date
    Jun 2008
    Location
    Ukraine,Zaporozhye
    Posts
    487
    Rep Power
    7

    Default

    What are these files you are talking about?Can you explain more please about the stuff?

  3. #3
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,575
    Rep Power
    25

    Default

    file extension that I can read with Java are txt or dat
    There are no restrictions on filename extensions. You can use anything.
    The problem will be what you do with the bytes you read from the file. Can you explain that?

  4. #4
    hayatt08 is offline Member
    Join Date
    Sep 2008
    Location
    LEBANON
    Posts
    5
    Rep Power
    0

    Default Java tables

    Thx Serjant & Norm for your replies.

    The application is reading data from files located as follows:
    \2008en\r0\rfile000.000 size 324,420k
    \2008en\r1\rfile001.000 size 100,384k

    How could I read the records and extract them to excel or txt.

    Thanks

  5. #5
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Posts
    2,571
    Rep Power
    9

    Default

    What do you mean by "Java files". Since all I have to go by is the extension, all I can say is that those files are neither ".java" nor ".class", nor ".properties, etc" files, so they are not "Java files".

    How are the files formatted? Are they simple text, are they fixed length record files? What?

    As far as writing them to excel once you've read them, see JExcelApi

  6. #6
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,423
    Rep Power
    20

    Default

    I am able to read these files record by record through the application.
    Which application?

    If you're referring to a Transbase CD Retrieval Database, do the terms of your license permit what you're apparently trying to do?

    If not, what led you to believe that rfile???.000 files are Java files?

    db

  7. #7
    hayatt08 is offline Member
    Join Date
    Sep 2008
    Location
    LEBANON
    Posts
    5
    Rep Power
    0

    Default

    Hello,

    It is a specific application for cars operations code and labor fee. I can search by Vehicle model & year and get only one record at a time. I just want to list all records.

    If I explore the CD, I find the Java and Tomcat pathes. When the application runs, the Tomcat starts and stops when I close it. They are not text That's why I suppose that the data files are Java. It seems that they are compressed but also I couldn't open them by any archiver.

    Thanks for interesting.

  8. #8
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,575
    Rep Power
    25

    Default

    What are you trying to do now? Are you going to write a java program to read the files and ...???

  9. #9
    kellaw is offline Member
    Join Date
    Oct 2008
    Posts
    24
    Rep Power
    0

    Default

    try downloading hjspilt and merge the files

  10. #10
    hayatt08 is offline Member
    Join Date
    Sep 2008
    Location
    LEBANON
    Posts
    5
    Rep Power
    0

    Default

    Yes, read & list

  11. #11
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,423
    Rep Power
    20

    Default

    You still didn't say whether you're referring to a Transbase CD Retrieval Database.

    db

  12. #12
    hayatt08 is offline Member
    Join Date
    Sep 2008
    Location
    LEBANON
    Posts
    5
    Rep Power
    0

    Default

    Quote Originally Posted by Darryl.Burke View Post
    You still didn't say whether you're referring to a Transbase CD Retrieval Database.

    db
    Yes it is a Transbase CD Retrieval Database.

    Thanks db

  13. #13
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,575
    Rep Power
    25

    Default

    Have you written a program to read the files yet?
    That would be simple enough to do.
    Then what do you want to do with what you read?

  14. #14
    ddtaxe is offline Member
    Join Date
    Apr 2009
    Posts
    1
    Rep Power
    0

    Default

    Hi there.
    I am facing the same problem as you. Did you get to extract the data in those files to excel/txt?
    Could you please reply me with some suggestion?
    Best Regards.

Posting Permissions

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