public class SheetCloner extends java.lang.Object
SheetClonerclone sheets and can set them up for implicit collections processing when a collection is detected as part of an expression in a sheet name.
|Modifier and Type||Field and Description|
Determines the beginning of metadata text inside sheet names only.
|Constructor and Description|
|Modifier and Type||Method and Description|
Clones and moves
Returns an object that can set the missing properties on a
Performs all manipulation necessary for implicit cloning, so that the
public static final java.lang.String BEGIN_METADATA
CollectionsTransformer.BEGIN_METADATA) because the normal cells beginning of metadata contains a character that isn't allowed in Excel sheet names.
public SheetCloner(org.apache.poi.ss.usermodel.Workbook workbook)
SheetClonerthat will work on cloning the given source
Sheet, in the given
Sheetsthat may be cloned/removed.
public SheetTransformer.AfterOffSheetProperties getMissingPropertiesSetter()
Sheetafter it has been moved and/or renamed. This was moved to
SheetClonerfor version 0.9.1.
public void cloneForSheetSpecificBeans(java.util.List<java.lang.String> templateSheetNames, java.util.List<java.lang.String> newSheetNames)
Sheetsaround as necessary according to the given template and new sheet names lists. This method initializes the list of Missing Clone Sheet Properties. The logic for this method was extracted out of
ExcelTransformerfor version 0.9.1.
Listof template sheet names.
Listof new sheet names.
public java.util.Map<java.lang.String,java.lang.Object> setupForImplicitCloning(org.apache.poi.ss.usermodel.Sheet sheet, java.util.Map<java.lang.String,java.lang.Object> beans, WorkbookContext context)
SheetTransformercan transform the resultant sheets as if they were already there.
Sheeton which to perform implicit cloning.
beans- The beans map.
Mapto use for transformation, which may be
Copyright © 2012-2016 Jett Team. All Rights Reserved.