DocumentRecoveryMode

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

ValueDescription
NONENo recovery is attempted.
TRY_RECOVERAttempts to recover the document while preserving as much data as possible.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of DocumentRecoveryMode values.

Methods

SignatureDescription
getName(documentRecoveryMode: int) → StringReturns JAVA_STYLE string representation of integer DocumentRecoveryMode value.
toString(documentRecoveryMode: int) → StringReturns DotNetStyle string representation of integer DocumentRecoveryMode value.
fromName(documentRecoveryModeName: String) → intReturns integer representation by DocumentRecoveryMode name.
getValues() → int[]Returns array of DocumentRecoveryMode values.

See Also