Package com.ebay.xcelite.sheet

Examples of com.ebay.xcelite.sheet.XceliteSheetImpl


   * Creates new sheet.
   *
   * @return XceliteSheet object
   */
  public XceliteSheet createSheet() {
    return new XceliteSheetImpl(workbook.createSheet(), file);
  }
View Full Code Here


   *
   * @param name the sheet name   *
   * @return XceliteSheet object
   */
  public XceliteSheet createSheet(String name) {
    return new XceliteSheetImpl(workbook.createSheet(name), file);
  }
View Full Code Here

  public XceliteSheet getSheet(int sheetIndex) {
    Sheet sheet = workbook.getSheetAt(sheetIndex);
    if (sheet == null) {
      throw new XceliteException(String.format("Could not find sheet at index %s", sheetIndex));
    }
    return new XceliteSheetImpl(sheet, file);
  }
View Full Code Here

  public XceliteSheet getSheet(String sheetName) {
    Sheet sheet = workbook.getSheet(sheetName);
    if (sheet == null) {
      throw new XceliteException(String.format("Could not find sheet named \"%s\"", sheetName));
    }
    return new XceliteSheetImpl(sheet, file);
  }
View Full Code Here

TOP

Related Classes of com.ebay.xcelite.sheet.XceliteSheetImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.