aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes What does it mean by Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "What does it mean by " Take a delimited ASCII file data and turn it into binary file"" Watch "What does it mean by " Take a delimited ASCII file data and turn it into binary file"" New topic
Author

What does it mean by " Take a delimited ASCII file data and turn it into binary file"

Gurpreet Saini
Ranch Hand

Joined: Jun 09, 2002
Posts: 295
Hello reader,
Please specify the meaning of sun specification that "Convert ASCII data text file into binary file format usable by the application". Do I have to create a manual ASCII data file containg delimited records and I have to read these records to convert them into a new binary file.
Please suggest me technically.

Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17260
    
    6

When did you receive your assignment.
Over a year ago they had a verison where they supplied you a text file that had data, and you had to write a conversion program to convert it into the db.db file, that everyone now gets instead.
By using the methods of Data class, and other classes you design will allow you to create the binary file needed.
Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Gurpreet Saini
Ranch Hand

Joined: Jun 09, 2002
Posts: 295
Hi mark,
I just saw your wedding pictures they were good but very few. Post a huge album. As, I wanted to tell you that I had not downloaded my assignment yet. Could you please connote me technically, what db.db file actually contains and what is the relation between Data.java class and db file?. And what I am expected to do with db file in conjugation with Data.java class ?. Please brief my last question.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17260
    
    6

Well the Data class has a constructor that takes a path and filename to the db.db file and it uses it to access the data. All those workings you don't need to worry about or change, except for two deprecated methods, which are very easy to fix.
So you don't need to worry about any txt file transformation to db.db file, because you are getting the version that doesn't have that requirement any more.
Hope that Helps, and yes I know I need to scan more of those wedding pictures in.
Mark
Gurpreet Saini
Ranch Hand

Joined: Jun 09, 2002
Posts: 295
Hi Mark,
Please check my post "Data Files, All members are invited to give thier opinions". Comment on what Sai parsad had written. I think he had given exam long before as you say conversion used to come in earlier versions. And please write me the exact meaning of "Deprecated methods" and what I am supposed to do with it ?. Does Sun certification carry fully details that how the assignment is to be done or it simply gives you a trailor. And in the end but not the last I wanted to ask you if during download of an assignment thier persists some problem like disconnection of internet or power failuer then will I be able to download again or I had to communicate it with sun for another download. Tell me what is the size of jar file ?.
your friend gurpreet
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17260
    
    6

What Sai wrote to your post there is exactly correct. No where does he state anything about a text file. He is talking about the binary file db.db.
Have you downloaded the assignment yet? That will answer all those questions.
A deprecated method is a method/signature that was in an earlier version of the SDK like Java 1.1 version, and they are no longer "Supporting it", they have a newer better version. And they cannot guarantee that this method will be available in future versions. So basically you need to use a different Method to replace the deprecated method.
Sun gives you enough details to do the assignment. It is not a trailor.
If you have problems in downloading and then it won't let you download again, then you will have to contact Sun. I don't think you will have a problem. The jar is 20K
Mark
Gurpreet Saini
Ranch Hand

Joined: Jun 09, 2002
Posts: 295
Hi Mark,
I had yet not downloaded assignment. Will they provide me with deprecated methods. Tell me approximatly how much time does it to download the assignment ?.
Gurpreet Saini
Ranch Hand

Joined: Jun 09, 2002
Posts: 295
My dear Mark,
Can you give me a peg of Java ?. You had yet not hosted your photo album. Anyway, please tell me is they give you binary file which consistes of schema (column names) and delimited records. Then you tell me what technically I am supposed to with binary file ?. As you say conversion they do not ask now. Tell me the information in schema is about for my information only or I had to convert the delimited records in other file through object serialization.
yours gurpreet
Charles Miller
Greenhorn

Joined: Jun 28, 2002
Posts: 19
Downloading the assignment is pretty fast. It's a single .jar file with everything you need to get started -- instructions, some pre-written java classes and a binary data file. There is no time limit on completing the assignment and the expectation is that you learn some things along the way.
I highly suggest downloading the assignment first, then ask questions after reading the instructions. From what I experienced in working on my project (getting ready to submit in in a few days), there are several viable solutions for all of the problem areas, not just a single right way to do it. My design uses lots of interfaces and a few factories (I'm fond of the Factory pattern) however, there are ways to do the project with few interfaces and no factories. Neither approach is *right* or *wrong*.
Like I said, once you download the assignment and read through the documentation and the java code, most of your questions will be answered.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What does it mean by " Take a delimited ASCII file data and turn it into binary file"