DocumentRecoveryMode
Overview
DocumentRecoveryMode is an enum in Aspose.Words FOSS for Java.
Specifies the available recovery options when a document encounters errors during loading.
Edition status of its 7 listed members (a property and its accessor methods are listed separately, overloads once): 7 not yet exercised by a verified example.
This enum declares 4 methods for DocumentRecoveryMode 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 |
|---|---|
NONE | No recovery is attempted. |
TRY_RECOVER | Attempts to recover the document while preserving as much data as possible. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of DocumentRecoveryMode values. |
Methods
| Signature | Description |
|---|---|
getName(documentRecoveryMode: int) → String | Returns JAVA_STYLE string representation of integer DocumentRecoveryMode value. |
toString(documentRecoveryMode: int) → String | Returns DotNetStyle string representation of integer DocumentRecoveryMode value. |
fromName(documentRecoveryModeName: String) → int | Returns integer representation by DocumentRecoveryMode name. |
getValues() → int[] | Returns array of DocumentRecoveryMode values. |