• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What does this requirement mean?

 
Jianping Wang
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All numeric values are stored in the header information use the formats of the DataInputStream and DataOutputStream classes
 
Mike Simmons
Ranch Hand
Posts: 3090
14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you looked at java.io.DataOutputStream and java.io.DataInputStream? They describe precisely-defined formats for reading and writing a variety of data types.

Note: please ignore links that look like this: DataOutputStream or DataInputStream. Unless someone (in the future) has fixed the current bug, they give links to http://java.sun.com/javase/6/docs/api/org/omg/CORBA/DataInputStream.html and http://java.sun.com/javase/6/docs/api/org/omg/CORBA/DataOutputStream.html. Those are definitely not what Sun/Oracle meant in the SCJD instructions. Those links are automatically provided by the JavaRanch forum software, and unfortunately, in this case, they're wrong. Ignore them.
 
Roel De Nijs
Sheriff
Posts: 10666
144
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is not a real requirement, it just tells you how you can read the stored numeric values in the header information
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mike Simmons wrote:Note: please ignore links that look like this: DataOutputStream or DataInputStream. Unless someone (in the future) has fixed the current bug, they give links to http://java.sun.com/javase/6/docs/api/org/omg/CORBA/DataInputStream.html and http://java.sun.com/javase/6/docs/api/org/omg/CORBA/DataOutputStream.html. Those are definitely not what Sun/Oracle meant in the SCJD instructions. Those links are automatically provided by the JavaRanch forum software, and unfortunately, in this case, they're wrong. Ignore them.

Fixed along with some other small issues, just waiting on a release date. Fully qualified class names always work java.io.DataInputStream
 
Mike Simmons
Ranch Hand
Posts: 3090
14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, DOM.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic