How to copy an HSSFSheet into another HSSFSheet which belongs to a different HSSFWorkbook.

Dan S <[email protected]> Mon, 12 May 2025 16:54:21 -0400
Newsgroups gmane.comp.jakarta.poi.user
Message-ID <CANeOZMSQy7kh_TnPpT+9smHnd2gnw63WF-HJ2yVKd+9kqjtW1A@mail.gmail.com>
--000000000000d9a3750634f685bd
Content-Type: text/plain; charset="UTF-8"

XSSFSheet has a copyRows method which allows for copying the contents of
one XSSFSheet to another one. I do not see an equivalent method for an
HSSFSheet. I see from this post
<https://lists.apache.org/[email protected]:dfr=2020-1-1|dto=2025-5-12:HSSFSheet%20copy>
a solution which allows copying for HSSFSheet and XSSFSheet. I just want to
make sure if that is a recommended way for HSSF and if not has there been
any change to POI that provides methods for this?

--000000000000d9a3750634f685bd--