FileFormatInfo
Overview
FileFormatInfo is a class in Aspose.Words FOSS for Java.
Contains data returned by FileFormatUtil document format detection methods.
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 class declares 5 methods for FileFormatInfo objects in Java programs.
Available methods include: getEncoding, getLoadFormat, hasDigitalSignature, hasMacros, isEncrypted.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: encoding, encrypted, loadFormat.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
loadFormat | int | Read | Gets the detected document format. |
encrypted | boolean | Read | Returns true if the document is encrypted and requires a password to open. |
encoding | java.nio.charset.Charset | Read | Gets the encoding. |
Methods
| Signature | Description |
|---|---|
getLoadFormat() → int | Gets the detected document format. |
isEncrypted() → boolean | Returns true if the document is encrypted and requires a password to open. |
hasDigitalSignature() → boolean | Returns true if this document contains a digital signature. |
hasMacros() → boolean | Returns true if this document contains a VBA macros. |
getEncoding() → java.nio.charset.Charset | Returns the encoding. |