Export Password Protected Files
This section describes how to export password-protected non-container files with the Java API.
To export password-protected files
-
Create an instance of the
ConfigOption
class, and set theOptionType
argument toCFG_SETPASSWORD
, theOptionValue
argument toTRUE
, and theOptionData
argument to the source file password. The password is a null-terminated string of 255 or fewer characters (the final byte is null). -
Call the
setConfigOption
methodand pass the
ConfigOption
object. -
Call a convert method. See the Javadoc in the directory
install\javaapi\javadoc
, whereinstall
is the path name of the Export installation directory.