Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dev Exam: Data conversion tool

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As part of the exam, there is a data conversion tool that reads the flat ASCII data file and creates a binary file for use by suncertify.db.Data class.
Does anyone know what this binary file should look like?
In my understanding it is still text file just with extra information ( feild names, record lengths, etc. )
thanks in advance for your help
Roman.
 
Rao Kuna
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The database binary file will have 2 components, one metadata and rest records. The metadata will be in binary format as U will be using writeUTF and writeInt methods (look at 2nd Data constructer).
Rao
Originally posted by romagol:
As part of the exam, there is a data conversion tool that reads the flat ASCII data file and creates a binary file for use by suncertify.db.Data class.
Does anyone know what this binary file should look like?
In my understanding it is still text file just with extra information ( feild names, record lengths, etc. )
thanks in advance for your help
Roman.

 
Ben Nichols
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The binary should store the text in byte form in a way that is accessible to the Data.class. Use the Data.class to build the binary.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic