File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Files and Bits 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 "Files and Bits" Watch "Files and Bits" New topic
Author

Files and Bits

Keith Jones
Ranch Hand

Joined: Oct 30, 2006
Posts: 105
Hi guys,

Files first ... :

1. Can we use RandomAccessFile to read the database file or do we need to use DataOut/InputSteam as the spec seems to suggest?

Now bits ... :

A lot of people seem to be asking about this and yet no one seems to know what the right thing to do is.

2. Some suggest that when you read a string from the file you can do something like this:



3. Others say you should use ISO-8859-1 instead (as to how is another matter).

4. And to add to the confusion I read a post by Junilu Lacar

which says:



Got word back from Sun about this. Max Habibi was right: there was a typo in the instructions and it should read "7-bit US ASCII" instead of "8-bit US ASCII".



Does anyone know what's going on and what the truth of the matter is?

Cheers

Keith


SCJP 1.4
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Files and Bits