[prev in list] [next in list] [prev in thread] [next in thread] 

List:       poi-user
Subject:    Re: Reading XLSX cell content
From:       Nick Burch <apache () gagravarr ! org>
Date:       2015-03-26 12:46:16
Message-ID: alpine.DEB.2.02.1503261245170.1392 () urchin ! earth ! li
[Download RAW message or body]

On Thu, 26 Mar 2015, Mester József wrote:
> I read cell's very simple way :
>
> String currentCellData =currentRow.getCell(data).toString()

That really isn't recommended. If you want a string of "what Excel shows 
the user for a cell", use DataFormatter

The toString method is really only there for debugging and logging, not 
production use for displaying to users etc

Nick


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic