• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Gurpreet Saini
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 295
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 295
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 295
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic