SharedStringRepository
Overview
SharedStringRepository is a class in Aspose.Cells FOSS for Java.
A repository that manages shared strings for Excel files.
This class provides 4 methods for working with SharedStringRepository objects in Java programs.
Available methods include: clear, getValues, intern, tryGetValue.
All exported members are accessible to any Java application after installing the Aspose.Cells FOSS for Java package.
Properties: values.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | List<String> | Read | Gets the list of interned string values. |
Methods
| Signature | Description |
|---|---|
getValues() → List<String> | Gets the list of interned string values. |
clear() | Clears all stored strings and indices. |
tryGetValue(index: int, value: String[]) → boolean | Tries to get the string value at the specified index. |
intern(value: String) → int | Interns a string, adding it to the repository if not already present. |