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.

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