StreamingSheet implements Sheet { @Override public void setSelected(boolean value) { throw new UnsupportedOperationException(); } StreamingSheet(String name, StreamingSheetReader reader); StreamingSheetReader getReader(); @Override Iterator<Row> iterator(); @Override Iterator<Row> rowIterator(); @Override String getSheetName(); @Override Row createRow(int rownum); @Override void removeRow(Row row); @Override Row getRow(int rownum); @Override int getPhysicalNumberOfRows(); @Override int getFirstRowNum(); @Override int getLastRowNum(); @Override void setColumnHidden(int columnIndex, boolean hidden); @Override boolean isColumnHidden(int columnIndex); @Override void setRightToLeft(boolean value); @Override boolean isRightToLeft(); @Override void setColumnWidth(int columnIndex, int width); @Override int getColumnWidth(int columnIndex); @Override float getColumnWidthInPixels(int columnIndex); @Override void setDefaultColumnWidth(int width); @Override int getDefaultColumnWidth(); @Override short getDefaultRowHeight(); @Override float getDefaultRowHeightInPoints(); @Override void setDefaultRowHeight(short height); @Override void setDefaultRowHeightInPoints(float height); @Override CellStyle getColumnStyle(int column); @Override int addMergedRegion(CellRangeAddress region); @Override void setVerticallyCenter(boolean value); @Override void setHorizontallyCenter(boolean value); @Override boolean getHorizontallyCenter(); @Override boolean getVerticallyCenter(); @Override void removeMergedRegion(int index); @Override int getNumMergedRegions(); @Override CellRangeAddress getMergedRegion(int index); @Override List<CellRangeAddress> getMergedRegions(); @Override void setForceFormulaRecalculation(boolean value); @Override boolean getForceFormulaRecalculation(); @Override void setAutobreaks(boolean value); @Override void setDisplayGuts(boolean value); @Override void setDisplayZeros(boolean value); @Override boolean isDisplayZeros(); @Override void setFitToPage(boolean value); @Override void setRowSumsBelow(boolean value); @Override void setRowSumsRight(boolean value); @Override boolean getAutobreaks(); @Override boolean getDisplayGuts(); @Override boolean getFitToPage(); @Override boolean getRowSumsBelow(); @Override boolean getRowSumsRight(); @Override boolean isPrintGridlines(); @Override void setPrintGridlines(boolean show); @Override PrintSetup getPrintSetup(); @Override Header getHeader(); @Override Footer getFooter(); @Override void setSelected(boolean value); @Override double getMargin(short margin); @Override void setMargin(short margin, double size); @Override boolean getProtect(); @Override void protectSheet(String password); @Override boolean getScenarioProtect(); @Override short getTopRow(); @Override short getLeftCol(); @Override void showInPane(int toprow, int leftcol); @Override void shiftRows(int startRow, int endRow, int n); @Override void shiftRows(int startRow, int endRow, int n, boolean copyRowHeight, boolean resetOriginalRowHeight); @Override void shiftColumns(int startColumn, int endColumn, int n); @Override void createFreezePane(int colSplit, int rowSplit, int leftmostColumn, int topRow); @Override void createFreezePane(int colSplit, int rowSplit); @Override void createSplitPane(int xSplitPos, int ySplitPos, int leftmostColumn, int topRow, int activePane); @Override PaneInformation getPaneInformation(); @Override void setDisplayGridlines(boolean show); @Override boolean isDisplayGridlines(); @Override void setDisplayFormulas(boolean show); @Override boolean isDisplayFormulas(); @Override void setDisplayRowColHeadings(boolean show); @Override boolean isDisplayRowColHeadings(); @Override void setRowBreak(int row); @Override boolean isRowBroken(int row); @Override void removeRowBreak(int row); @Override int[] getRowBreaks(); @Override int[] getColumnBreaks(); @Override void setColumnBreak(int column); @Override boolean isColumnBroken(int column); @Override void removeColumnBreak(int column); @Override void setColumnGroupCollapsed(int columnNumber, boolean collapsed); @Override void groupColumn(int fromColumn, int toColumn); @Override void ungroupColumn(int fromColumn, int toColumn); @Override void groupRow(int fromRow, int toRow); @Override void ungroupRow(int fromRow, int toRow); @Override void setRowGroupCollapsed(int row, boolean collapse); @Override void setDefaultColumnStyle(int column, CellStyle style); @Override void autoSizeColumn(int column); @Override void autoSizeColumn(int column, boolean useMergedCells); @Override Drawing createDrawingPatriarch(); @Override Workbook getWorkbook(); @Override boolean isSelected(); @Override CellRange<? extends Cell> setArrayFormula(String formula, CellRangeAddress range); @Override CellRange<? extends Cell> removeArrayFormula(Cell cell); @Override DataValidationHelper getDataValidationHelper(); @Override List<? extends DataValidation> getDataValidations(); @Override void addValidationData(DataValidation dataValidation); @Override AutoFilter setAutoFilter(CellRangeAddress range); @Override SheetConditionalFormatting getSheetConditionalFormatting(); @Override CellRangeAddress getRepeatingRows(); @Override CellRangeAddress getRepeatingColumns(); @Override void setRepeatingRows(CellRangeAddress rowRangeRef); @Override void setRepeatingColumns(CellRangeAddress columnRangeRef); @Override int getColumnOutlineLevel(int columnIndex); @Override CellAddress getActiveCell(); @Override Comment getCellComment(CellAddress ref); @Override Map<CellAddress, ? extends Comment> getCellComments(); @Override Drawing getDrawingPatriarch(); @Override Hyperlink getHyperlink(int row, int column); @Override List<? extends Hyperlink> getHyperlinkList(); @Override void setActiveCell(CellAddress address); @Override void setZoom(int scale); @Override int addMergedRegionUnsafe(CellRangeAddress region); @Override void validateMergedRegions(); @Override void removeMergedRegions(Collection<Integer> indices); @Override boolean isPrintRowAndColumnHeadings(); @Override void setPrintRowAndColumnHeadings(boolean show); @Override Hyperlink getHyperlink(CellAddress addr);  }
@Test(expected = UnsupportedOperationException.class) public void setSelected() throws Exception { streamingSheet.setSelected(true); }