https://bz.apache.org/bugzilla/show_bug.cgi?id=69411

            Bug ID: 69411
           Summary: Change XSSFReader.getSheetsData return type from
                    Iterator<InputStream> to SheetIterator
           Product: POI
           Version: 5.3.x-dev
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSSF
          Assignee: dev@poi.apache.org
          Reporter: claytonb1...@gmail.com
  Target Milestone: ---

The XSSFReader.getSheetsData method returns an instance of SheetIterator but
that method currently has a return type of Iterator<InputStream>. I imagine
it's a common need when using this lower-level API to want access o the sheet
name, sheet comments, etc. which today would require the return value to be
cast to SheetIterator.

To cut down on the amount of casting needed when using
XSSFReader.getSheetsData, I'm proposing that the return type of that method be
changed from Iterator<InputStream> to SheetIterator if the maintainers feel
that the change wouldn't make future maintenance more difficult by changing the
API contract to return this implementation.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to