com.groupdocs.comparison

Class Document

    • Constructor Detail

      • Document

        public Document(InputStream stream)

        Initializes new instance of Document class.

        Parameters:
        stream - Document stream
      • Document

        public Document(InputStream stream,
                        String password)

        Initializes new instance of Document class.

        Parameters:
        stream - Document stream
        password - Document password
      • Document

        public Document(Path filePath)

        Initializes new instance of Document class.

        Parameters:
        filePath - Document path
      • Document

        public Document(Path filePath,
                        String password)

        Initializes new instance of Document class.

        Parameters:
        filePath - Document path
        password - Document password
      • Document

        public Document(String filePath)

        Initializes new instance of Document class.

        Parameters:
        filePath - Document path
      • Document

        public Document(String filePath,
                        boolean isLoadText)
        Initializes new instance of Document class.
        Parameters:
        filePath - the file path
        isLoadText - the is load text
      • Document

        public Document(String filePath,
                        String password)

        Initializes new instance of Document class.

        Parameters:
        filePath - Document path
        password - Document password
    • Method Detail

      • getChanges

        public final List<ChangeInfo> getChanges()

        List of changes.

        Returns:
        the changes
      • getName

        public final String getName()

        Document name.

        Returns:
        the name
      • getPassword

        public String getPassword()

        Document password.

        Returns:
        the password
      • getStream

        public InputStream getStream()

        Document stream.

        Returns:
        the stream
      • setChanges

        public final void setChanges(List<ChangeInfo> value)

        List of changes.

        Parameters:
        value - the value
      • setName

        public final void setName(String value)

        Document name.

        Parameters:
        value - the value