com.groupdocs.merger.domain.options

Class TextSplitOptions

    • Constructor Detail

      • TextSplitOptions

        public TextSplitOptions(int[] lineNumbers)

        Initializes a new instance of the TextSplitOptions class.

        Parameters:
        lineNumbers - Line numbers for text splitting.
      • TextSplitOptions

        public TextSplitOptions(int mode,
                        int[] lineNumbers)

        Initializes a new instance of the TextSplitOptions class.

        Parameters:
        mode - Mode for text splitting.
        lineNumbers - Line numbers for text splitting.
      • TextSplitOptions

        public TextSplitOptions(SplitStreamFactory splitStreamFactory,
                        int[] lineNumbers)

        Initializes a new instance of the TextSplitOptions class.

        Parameters:
        splitStreamFactory - The method that instantiates stream used to write output split data.
        lineNumbers - Line numbers for text splitting.
      • TextSplitOptions

        public TextSplitOptions(SplitStreamFactory splitStreamFactory,
                        int mode,
                        int[] lineNumbers)

        Initializes a new instance of the TextSplitOptions class.

        Parameters:
        splitStreamFactory - The method that instantiates stream used to write output split data.
        mode - Mode for text splitting.
        lineNumbers - Line numbers for text splitting.
      • TextSplitOptions

        public TextSplitOptions(String filePathFormat,
                        int[] lineNumbers)

        Initializes a new instance of the TextSplitOptions class.

        Parameters:
        filePathFormat - The file path format e.g. 'c:/split{0}.doc' or 'c:/split{0}.{1}' with already defined extension.
        lineNumbers - Line numbers for text splitting.
      • TextSplitOptions

        public TextSplitOptions(String filePathFormat,
                        int mode,
                        int[] lineNumbers)

        Initializes a new instance of the TextSplitOptions class.

        Parameters:
        filePathFormat - The file path format e.g. 'c:/split{0}.doc' or 'c:/split{0}.{1}' with already defined extension.
        mode - Mode for text splitting.
        lineNumbers - Line numbers for text splitting.