FileFormatInfo

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

NameTypeAccessDescription
loadFormatintReadGets the detected document format.
encryptedbooleanReadReturns true if the document is encrypted and requires a password to open.
encodingjava.nio.charset.CharsetReadGets the encoding.

Methods

SignatureDescription
getLoadFormat() → intGets the detected document format.
isEncrypted() → booleanReturns true if the document is encrypted and requires a password to open.
hasDigitalSignature() → booleanReturns true if this document contains a digital signature.
hasMacros() → booleanReturns true if this document contains a VBA macros.
getEncoding() → java.nio.charset.CharsetReturns the encoding.

See Also