You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by Praveen Mathew <pr...@in.ibm.com> on 2003/07/03 01:31:18 UTC
HWPF: java doubts
I have some basic doubts regarding Java as I am very new to it , I was
mainly working in C before.
is byte datatype conterpart of unsigned char in C, say can i store 255 in
a byte variable?
If yes then why is it that in LittleEndian.getunsignedByte is returning an
int ? Cant we typecast it to byte and return.
In HWPFOutputStream class or its parent class there are no functions named write( ) that
take only a byte array.
But we r doing docStream.write(grpprl); which does this , How is it possible??
Thanks & Regards
Praveen
"Ryan Ackley" <sa...@cfl.rr.com>
02/07/2003 19:41
Please respond to "POI Developers List"
To: "POI Developers List" <po...@jakarta.apache.org>
cc:
Subject: CVS sucks (was: "Re: Praveen...your deadline?")
> Andy, is there a better way to get all the newly checked in files?.
> Currently I am going to scratchpad & downloading each .java files
> seperately.
We use a version control system called CVS. The easiest way to get to the
files is to get the files directly through CVS. The easiest way to do this
is to download a GUI client. There is a platform independent one at
http://www.jcvs.org You sound like a CVS newbie. Well so am I. I hate CVS
with a friggin passion. Its like an ancient Unix command line utility
thats
been mutated by radiation into a version control system.
---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-dev-help@jakarta.apache.org
Re: HWPF: java doubts
Posted by "Andrew C. Oliver" <ac...@apache.org>.
Java has no unsigned types. Thus if you make it a byte, you'll have to deal
with the sign.
-Andy
On 7/2/03 7:31 PM, "Praveen Mathew" <pr...@in.ibm.com> wrote:
> I have some basic doubts regarding Java as I am very new to it , I was
> mainly working in C before.
>
> is byte datatype conterpart of unsigned char in C, say can i store 255 in
> a byte variable?
> If yes then why is it that in LittleEndian.getunsignedByte is returning an
> int ? Cant we typecast it to byte and return.
>
> In HWPFOutputStream class or its parent class there are no functions named
> write( ) that
> take only a byte array.
> But we r doing docStream.write(grpprl); which does this , How is it possible??
>
>
> Thanks & Regards
> Praveen
>
>
>
>
>
>
> "Ryan Ackley" <sa...@cfl.rr.com>
> 02/07/2003 19:41
> Please respond to "POI Developers List"
>
>
> To: "POI Developers List" <po...@jakarta.apache.org>
> cc:
> Subject: CVS sucks (was: "Re: Praveen...your deadline?")
>
>
>
>> Andy, is there a better way to get all the newly checked in files?.
>> Currently I am going to scratchpad & downloading each .java files
>> seperately.
>
> We use a version control system called CVS. The easiest way to get to the
> files is to get the files directly through CVS. The easiest way to do this
> is to download a GUI client. There is a platform independent one at
> http://www.jcvs.org You sound like a CVS newbie. Well so am I. I hate CVS
> with a friggin passion. Its like an ancient Unix command line utility
> thats
> been mutated by radiation into a version control system.
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: poi-dev-help@jakarta.apache.org
>
>
>
>
--
Andrew C. Oliver
http://www.superlinksoftware.com/poi.jsp
Custom enhancements and Commercial Implementation for Jakarta POI
http://jakarta.apache.org/poi
For Java and Excel, Got POI?