Results 1 to 14 of 14
Thread: Hello
- 09-29-2008, 12:04 AM #1
Member
- Join Date
- Sep 2008
- Location
- LEBANON
- Posts
- 5
- Rep Power
- 0
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
- 09-29-2008, 02:39 AM #2
What are these files you are talking about?Can you explain more please about the stuff?
- 09-29-2008, 02:41 PM #3
There are no restrictions on filename extensions. You can use anything.file extension that I can read with Java are txt or dat
The problem will be what you do with the bytes you read from the file. Can you explain that?
- 10-01-2008, 08:07 AM #4
Member
- Join Date
- Sep 2008
- Location
- LEBANON
- Posts
- 5
- Rep Power
- 0
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
- 10-01-2008, 08:42 AM #5
Senior Member
- Join Date
- Jun 2008
- Posts
- 2,366
- Rep Power
- 7
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
- 10-01-2008, 10:15 AM #6
Which application?I am able to read these files record by record through the 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
- 10-02-2008, 07:39 AM #7
Member
- Join Date
- Sep 2008
- Location
- LEBANON
- Posts
- 5
- Rep Power
- 0
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.
- 10-02-2008, 02:05 PM #8
What are you trying to do now? Are you going to write a java program to read the files and ...???
- 10-03-2008, 12:58 PM #9
Member
- Join Date
- Oct 2008
- Posts
- 24
- Rep Power
- 0
try downloading hjspilt and merge the files
- 10-04-2008, 07:56 AM #10
Member
- Join Date
- Sep 2008
- Location
- LEBANON
- Posts
- 5
- Rep Power
- 0
Yes, read & list
- 10-04-2008, 10:30 AM #11
You still didn't say whether you're referring to a Transbase CD Retrieval Database.
db
- 10-12-2008, 10:05 PM #12
Member
- Join Date
- Sep 2008
- Location
- LEBANON
- Posts
- 5
- Rep Power
- 0
- 10-12-2008, 10:44 PM #13
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?
- 04-04-2009, 03:37 AM #14
Member
- Join Date
- Apr 2009
- Posts
- 1
- Rep Power
- 0


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks