Class SheetNameGenerator

java.lang.Object
org.jxls.command.SheetNameGenerator
All Implemented Interfaces:
CellRefGenerator

public class SheetNameGenerator extends Object implements CellRefGenerator
Creates cell references based on passed sheet names
  • Constructor Details

    • SheetNameGenerator

      public SheetNameGenerator(List<String> sheetNames, CellRef startCellRef)
  • Method Details

    • generateCellRef

      public CellRef generateCellRef(int index, Context context, JxlsLogger logger)
      Specified by:
      generateCellRef in interface CellRefGenerator
      Parameters:
      index - current iteration index
      context - current context
      logger - -
      Returns:
      target cell reference for this index