com.groupdocs.merger.domain.options

Class LoadOptions

    • Constructor Detail

      • LoadOptions

        public LoadOptions(FileType fileType)

        Initializes new instance of LoadOptions class.

        Parameters:
        fileType - The type of the file to open.
        Throws:
        NullPointerException - Thrown when fileType is null.
      • LoadOptions

        public LoadOptions(FileType fileType,
                   String password)

        Initializes new instance of LoadOptions class.

        Parameters:
        fileType - The type of the file to open.
        password - The password for opening password-protected file.
        Throws:
        NullPointerException - Thrown when fileType is null.
      • LoadOptions

        public LoadOptions(String password)

        Initializes new instance of LoadOptions class.

        Parameters:
        password - The password for opening password-protected file.
      • LoadOptions

        public LoadOptions(String password,
                   Charset encoding)

        Initializes new instance of LoadOptions class.

        Parameters:
        password - The password for opening password-protected file.
        encoding - The encoding used when opening text-based files such as FileType.CSV or FileType.TXT.
        Throws:
        NullPointerException - Thrown when encoding is null.
      • LoadOptions

        public LoadOptions(String extension,
                   FileType fileType,
                   String password,
                   Charset encoding)

        Initializes new instance of LoadOptions class.

        Parameters:
        extension - The extension of the file to open.
        fileType - The type of the file to open.
        password - The password for opening password-protected file.
        encoding - The encoding used when opening text-based files such as FileType.CSV or FileType.TXT.
        Throws:
        com.aspose.ms.System.ArgumentNullException - Thrown when fileType is null.
        com.aspose.ms.System.ArgumentNullException - Thrown when encoding is null.