The version information of my assignment was in the title (1.1.3)
It is what the specification says: an identifier of the .db file (simply a fixed value). Depending if you find this flag you could decide whether this is a valid .db file.
The specification also says at what position within the file you will find this magic cookie. [ May 24, 2005: Message edited by: Wei-ju Wu ]
"The UrlyBird catches the certificate. And he's gonna FlyByNight"<br /> <br />SCJP 1.2/5.0, SCJD, SCBCD, SCWCD, SCEA
Joined: May 16, 2005
Thanks Wei-ju Wu.
That means I got to have the magic number speficfied in the properties file and check that aginst the one in the file is it?
Joined: Feb 16, 2005
You can simply specify it as a symbolic constant within your code, since you can not assume that the properties file exists on application start (at least this holds true for suncertify.properties in my assignment).