public final class SheetNameFormatter
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
appendFormat(java.lang.Appendable out,
java.lang.String rawSheetName)
Convenience method for (
format(String) ) when a StringBuffer is already available. |
static void |
appendFormat(java.lang.Appendable out,
java.lang.String workbookName,
java.lang.String rawSheetName)
Convenience method for (
format(String) ) when a StringBuffer is already available. |
static void |
appendFormat(java.lang.StringBuffer out,
java.lang.String rawSheetName)
Deprecated.
Only kept for binary compatibility, will be replaced by the version with Appendable as parameter
|
static void |
appendFormat(java.lang.StringBuffer out,
java.lang.String workbookName,
java.lang.String rawSheetName)
Deprecated.
Only kept for binary compatibility, will be replaced by the version with Appendable as parameter
|
static void |
appendFormat(java.lang.StringBuilder out,
java.lang.String rawSheetName)
Only kept for binary compatibility, will be replaced by the version with Appendable as parameter
|
static void |
appendFormat(java.lang.StringBuilder out,
java.lang.String workbookName,
java.lang.String rawSheetName)
Only kept for binary compatibility, will be replaced by the version with Appendable as parameter
|
static java.lang.String |
format(java.lang.String rawSheetName)
Used to format sheet names as they would appear in cell formula expressions.
|
public static java.lang.String format(java.lang.String rawSheetName)
@Deprecated @Removal(version="5.0.0") public static void appendFormat(java.lang.StringBuffer out, java.lang.String rawSheetName)
@Deprecated @Removal(version="5.0.0") public static void appendFormat(java.lang.StringBuffer out, java.lang.String workbookName, java.lang.String rawSheetName)
@Removal(version="5.0.0") public static void appendFormat(java.lang.StringBuilder out, java.lang.String rawSheetName)
@Removal(version="5.0.0") public static void appendFormat(java.lang.StringBuilder out, java.lang.String workbookName, java.lang.String rawSheetName)
public static void appendFormat(java.lang.Appendable out, java.lang.String rawSheetName)
format(String)
) when a StringBuffer is already available.out
- - sheet name will be appended here possibly with delimiting quotesrawSheetName
- - sheet namepublic static void appendFormat(java.lang.Appendable out, java.lang.String workbookName, java.lang.String rawSheetName)
format(String)
) when a StringBuffer is already available.out
- - sheet name will be appended here possibly with delimiting quotesworkbookName
- - workbook namerawSheetName
- - sheet nameCopyright 2020 The Apache Software Foundation or its licensors, as applicable.