Roberto Perillo wrote:Howdy, Hmontiel. Welcome to JavaRanch!
Well champ, what happens if you set the FIELD_NAME_BYTES variable to 1?
Pawel Pawlowicz wrote:I used spaces (\u0020). Why? Because the db file provided to me already used this approach. And as I noted in choices.txt I would not expect any field beginning with spaces I just justified using of String.trim() when reading data ;).
Alexandru Dragoi wrote:Ohh...so I guess it depends on the database file you receive with your assignment.
Alexandru Dragoi wrote:What is your opinion about this?
Gautham Kumar wrote:Easpecially the following line the getValue method :
value += (byteArray[i] & 0x000000FF) << shift;
0x000000FF = 255, what exactly are you trying to do in above statement? Are you performing leftshift and reading the file?
Please explain if possible.
Gautham Kumar wrote:I can create my own databasereader and implement all methods of sun interface and use this tool(class) s utility class to read data from the DB file.
Is this an accpetable approach?
My first bit of advice is that if you are going to be a mime, you shouldn't talk. Even the tiny ad is nodding:
the value of filler advertising in 2021https://coderanch.com/t/730886/filler-advertising