public enum CffUpdateStringIndexStrategy extends Enum<CffUpdateStringIndexStrategy>
Specifies how to add strings to CFF String INDEX storage. When we try to add some string into CFF String INDEX, there may be situation that this string is already present in String INDEX. Using option SearchForDuplicates we can force search over String INDEX to detect whether this string is already present or not. This approach saves space in the String INDEX structure, but requires more time to add the string.
| Enum Constant and Description |
|---|
AddStringAsIs
Specifies that no checks for duplicates should be performed when adding a string.
|
SearchForDuplicates
Specifies that the search for the string to be added should be performed in the String INDEX
structure to avoid adding duplicates.
|
| Modifier and Type | Method and Description |
|---|---|
static CffUpdateStringIndexStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CffUpdateStringIndexStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CffUpdateStringIndexStrategy SearchForDuplicates
public static final CffUpdateStringIndexStrategy AddStringAsIs
public static CffUpdateStringIndexStrategy[] values()
for (CffUpdateStringIndexStrategy c : CffUpdateStringIndexStrategy.values()) System.out.println(c);
public static CffUpdateStringIndexStrategy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2025 Aspose. All Rights Reserved.