Boolean.parseBoolean( java.lang.String ) "Not found"

I’m doing some org.apache.poi.HSSF work inside of Notes.

I can compile inside of Eclipse using version 1.4, however, when I bring the code inside of an agent, the compiler can’t find

Boolean.parseBoolean( java.lang.String )

Anyone have a workaround?

Marcus

Subject: Boolean.parseBoolean( java.lang.String ) “Not found”

This method is only available since Java 1.5.

http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Boolean.html#parseBoolean(java.lang.String)

You can use something like this to achieve the same result:

“true”.equalsIgnoreCase( string ) ? true : false ;