Exit your IDE, clear your classpath of everything but the bin and try it. Then double check the source .zip file with a jar -tf blabla-dev-src.zip contain the source, open them and see if the method is there. If not, lets talk. If so, you've misconfigured your classpath.

Bill Winspur wrote:

I'm trying to get the HSSFDatetil.isCellDateFormatted() functionality, so I installed: jakarta-poi-1.8.0-dev-bin.zip and jakarta-poi-1.8.0-dev-src.zip, since the above method did not show
on 1.5.1.

I put jakarta-poi-1.8.0-dev-20020919.jar on my classpath, and
src/java/ on my source path (im using idea fom intellij).

Problem: the ide editor accepts the following code:

if(HSSFDateUtil.isCellDateFormatted(cell)) {
short formatIx = cell.getCellStyle().getDataFormat();
System.out.println
("row " + i + ", col 0, built-in format string: " +
HSSFDataFormat.getBuiltinFormat(formatIx));
}
implying that methods isCellDateFormatted() and getBuiltInFormat() are
found in the class jar, but the compile fails, saying the two method
names cannot be resolved. It seems that the bin and source I'm using
are of different levels.

Assuming I understand the problem, where can I find the source corresponding to the 1.8.0 bin jar?





--
To unsubscribe, e-mail:   <mailto:poi-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:poi-user-help@;jakarta.apache.org>

Reply via email to