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
ConfigOptionclass, and set theOptionTypeargument toCFG_SETPASSWORD, theOptionValueargument toTRUE, and theOptionDataargument to the source file password. The password is a null-terminated string of 255 or fewer characters (the final byte is null). -
Call the
setConfigOptionmethodand pass theConfigOptionobject. -
Call a convert method. See the Javadoc in the directory
install\javaapi\javadoc, whereinstallis the path name of the Export installation directory.