Creating documents

Create a com.adobe.idp.Document object before you invoke a service operation that requires a PDF document (or other document types) as an input value. The com.adobe.idp.Document class provides constructors that enable you to create a document from the following content types:

  • A byte array

  • An existing com.adobe.idp.Document object

  • A java.io.File object

  • A java.io.InputStream object

  • A java.net.URL object

// Ethnio survey code removed