com.groupdocs.merger.domain

Class JoinItem



  • public class JoinItem
    extends Object

    Represents document to be joined with other documents.

    • Constructor Detail

      • JoinItem

        public JoinItem(InputStream document)

        Initializes a new instance of the JoinItem class.

        Parameters:
        document - The document.
      • JoinItem

        public JoinItem(InputStream document,
                long fileFormat,
                String password)

        Initializes a new instance of the JoinItem class.

        Parameters:
        document - The document.
        fileFormat - The file format.
        password - The password.
      • JoinItem

        public JoinItem(InputStream document,
                long fileFormat,
                String password,
                List<Integer> pageNumbers)

        Initializes a new instance of the JoinItem class.

        Parameters:
        document - The document.
        fileFormat - The file format.
        password - The password.
        pageNumbers - Page numbers for operation.
    • Method Detail

      • getDocument

        public final InputStream getDocument()

        Gets or sets the document.

        Value: The document.
      • getFileFormat

        public final long getFileFormat()
      • getJoinOptions

        public final JoinOptions getJoinOptions()

        Options for joining document.

      • getPassword

        public final String getPassword()
      • pagesForDocument

        public final List<Integer> pagesForDocument(int documentPageCount)

        List of page number on which operation will be applied. Note: first page have number 1.

        Parameters:
        documentPageCount - Count of page in document.
      • setDocument

        public final void setDocument(InputStream value)

        Gets or sets the document.

        Value: The document.
      • setFileFormat

        public final void setFileFormat(long value)
      • setJoinOptions

        public final void setJoinOptions(JoinOptions value)

        Options for joining document.

      • setPages

        public final void setPages(List<Integer> value)
      • setPassword

        public final void setPassword(String value)