@Internal public class XSSFBSharedStringsTable extends java.lang.Object implements SharedStrings
| Constructor and Description |
|---|
XSSFBSharedStringsTable(OPCPackage pkg) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCount()
Return an integer representing the total count of strings in the workbook.
|
java.lang.String |
getEntryAt(int idx)
Deprecated.
use
getItemAt instead |
RichTextString |
getItemAt(int idx)
Return a string item by index
|
java.util.List<java.lang.String> |
getItems()
Deprecated.
use
getItemAt instead |
int |
getUniqueCount()
Returns an integer representing the total count of unique strings in the Shared String Table.
|
public XSSFBSharedStringsTable(OPCPackage pkg) throws java.io.IOException, org.xml.sax.SAXException
pkg - The OPCPackage to use as basis for the shared-strings table.java.io.IOException - If reading the data from the package fails.org.xml.sax.SAXException - if parsing the XML data fails.@Removal(version="4.2") @Deprecated public java.util.List<java.lang.String> getItems()
getItemAt instead@Removal(version="4.2") @Deprecated public java.lang.String getEntryAt(int idx)
getItemAt insteadidx - index of item to return.public RichTextString getItemAt(int idx)
SharedStringsgetItemAt in interface SharedStringsidx - index of item to return.public int getCount()
getCount in interface SharedStringspublic int getUniqueCount()
getUniqueCount in interface SharedStringsCopyright 2018 The Apache Software Foundation or its licensors, as applicable.