Sagewire Logo

new to JAVA, need help

2 Message(s) by 2 Author(s) originally posted in java programming


From: timothy ma and constance lee Date:   Saturday, May 26, 2007
Sirs/Madam

I encounter the problem on date field.
Sometimes, when there is no date, then it'll return the null object. When
I want to check by

aDate.toString() = "" or null, it throws exception.

How can I ensure they return the value or not.

Please help


From: IchBin Date:   Sunday, May 27, 2007
wrote in message:
Sirs/Madam
I encounter the problem on date field.
Sometimes, when there is no date, then it'll return the null object. When
I want to check by
aDate.toString() = "" or null, it throws exception.
How can I ensure they return the value or not.
Please help


if( aDate == null ){ }--
Thanks in Advance... http://weconsulting.org
IchBin, Philadelphia, Pa, USA http://ichbinquotations.weconsulting.org
______________________________________________________________________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)



Next Message: DateFormat.parse issues


Blogs related to new to JAVA, need help

Res: Res: How to search more than one word?
:D > > But now I need to know the diference between them! :) > > Thanks! :D > > ----- Mensagem original ---- > De: Rodrigo F Valverde > Para: java-user@lucene.apache.org > Enviadas: Quinta-feira, ...

Re: Indexing help needed
LOL. thank you for the reply and advice. jim s ----- Original Message ----- From: "Andrzej Bialecki" To: <java-user@lucene.apache.org> Sent: Friday, May 25, 2007 1:10 PM Subject: Re: Indexing help needed > jim shirreffs ...

New to java needing help got work due on monday and need help now
I would like 2 know how do u make a dialog box in java including the wholr program and would like it to have an OK button. Also it must include "This.

Indexing help needed
FileReader is the key, need to add the correct reader for none text formats. */ doc.add(new Field("contents", new FileReader(f))); Now if I could just add a file reader for OpenOffice say OOFileReader() that unzip and did all the dom ...

RE: Setting the maximum number of documents in a lucene segment
My issue is very similar to (I read this thread later) the thread "maxDocs and Arrays" , http://www.gossamer-threads.com/lists/lucene/java-user/49285. I also want to keep some sort of derived data of lucene in memory arrays, ...

Learning from the Best
"There is quite a bit of development happening in Eclipse, but IntelliJ’s IDEA is also popular for Java development. Some development happens in Visual Studio. Developers of our services can use any tools they see fit to build their ...


Programming | Sports | Autos

copyright 2006
Valid XHTML 1.0 Transitional