This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes B&S: Data read  requirement Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "B&S: Data read  requirement" Watch "B&S: Data read  requirement" New topic
Author

B&S: Data read requirement

Vaishali Paramane
Ranch Hand

Joined: Mar 05, 2007
Posts: 106
Hi
My requirment say that

" All numeric values are stored in the header information use the formats of the DataInputStream and DataOutputStream classes. All text values, and all fields (which are text only), contain only 8 bit characters, null terminated if less than the maximum length for the field. The character encoding is 8 bit US ASCII. "

I didnot get it. Is it means that reading file is using DataInputStream and DataOutputStream.
or can I use it RandomAccess for file reading?

Thanks for helping

Vaishali


SCJP, SCJD
Preparing for SCWCD
John Stone
Ranch Hand

Joined: May 04, 2007
Posts: 332
Yes you can. Check the javadoc and you'll find, that RAF is following same contract as DataInput*, because both are implements DataInput/DataOutput interfaces.
Vaishali Paramane
Ranch Hand

Joined: Mar 05, 2007
Posts: 106
Thanks Jone

your information will help me
 
Don't get me started about those stupid light bulbs.
 
subject: B&S: Data read requirement
 
Similar Threads
Reading .db file
How to read MAGIC for db-2x2.db
NX:which class should i apply to access db?
.db file format problem, help please!!!
NX: Null terminated