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.
Description
SharedStringRepository is a class in the Aspose.Cells FOSS library for Java that exposes 4 methods and 1 property for programmatic use.
Core capabilities include: list<string>; clears all stored strings and indices. These operations enable developers to integrate sharedstringrepository functionality directly into Java applications.
The class also provides the values property (gets the list of interned string 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. |