aspose file tools*
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
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: B&S: Data read requirement