Provides utility methods for working with file formats such as detecting file format or converting file extensions to/from file format enums in Java....detect the document format and encryption. Document doc = new Document();...Configure a SaveOptions object to encrypt the document // with a password...