SharedStringRepository

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

NameTypeAccessDescription
valuesList<String>ReadGets the list of interned string values.

Methods

SignatureDescription
getValues()List<String>Gets the list of interned string values.
clear()Clears all stored strings and indices.
tryGetValue(index: int, value: String[])booleanTries to get the string value at the specified index.
intern(value: String)intInterns a string, adding it to the repository if not already present.

See Also

 English