Interface ExcelSheetNamingStrategy

All Known Implementing Classes:
DefaultExcelSheetNamingStrategy

public interface ExcelSheetNamingStrategy
Excel has restriction on sheet name length. The name cannot exceed 31 chars. ExcelSheetNamingStrategy tries to truncate typed to 31 chars.
  • Method Summary

    Modifier and Type
    Method
    Description
    generateName(org.apache.poi.ss.usermodel.Workbook workbook, String typeCode)
    Generates sheet name which has max 31 chars.
  • Method Details

    • generateName

      String generateName(org.apache.poi.ss.usermodel.Workbook workbook, String typeCode)
      Generates sheet name which has max 31 chars.
      Parameters:
      workbook -
      typeCode -
      Returns:
      generated sheet name