ReplaceAction
Overview
ReplaceAction is an enum in Aspose.Words FOSS for Java.
Allows the user to specify what happens to the current match during a replace operation.
Edition status of its 8 listed members (a property and its accessor methods are listed separately, overloads once): 8 not yet exercised by a verified example.
This enum declares 4 methods for ReplaceAction objects in Java programs.
Available methods include: fromName, getName, getValues, toString.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: values.
Values
| Value | Description |
|---|---|
REPLACE | Replace the current match. |
SKIP | Skip the current match. |
STOP | Terminate the replace operation. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of ReplaceAction values. |
Methods
| Signature | Description |
|---|---|
getName(replaceAction: int) → String | Returns JAVA_STYLE string representation of integer ReplaceAction value. |
toString(replaceAction: int) → String | Returns DotNetStyle string representation of integer ReplaceAction value. |
fromName(replaceActionName: String) → int | Returns integer representation by ReplaceAction name. |
getValues() → int[] | Returns array of ReplaceAction values. |