ISplitOptions

All Implemented Interfaces: com.groupdocs.merger.domain.options.interfaces.IPageOptions

public interface ISplitOptions extends IPageOptions

Interface for the splitting options.

Methods

Method Description
getMode() Gets the mode for page splitting.
validate(FileType fileType) Validates the split options.
getPathByIndex(int index, String extension) Gets the full file path of splitted document by index with defined extension.
getSplitStreamFactory() Delegate that defines method to create output split stream.

getMode()

public abstract int getMode()

Gets the mode for page splitting.

Returns: int

validate(FileType fileType)

public abstract void validate(FileType fileType)

Validates the split options.

Parameters:

Parameter Type Description
fileType FileType The file type of FileType class.

getPathByIndex(int index, String extension)

public abstract String getPathByIndex(int index, String extension)

Gets the full file path of splitted document by index with defined extension.

Parameters:

Parameter Type Description
index int Index of splitted document.
extension java.lang.String Extension of file.

Returns: java.lang.String - The full file path.

getSplitStreamFactory()

public abstract SplitStreamFactory getSplitStreamFactory()

Delegate that defines method to create output split stream.

Returns: SplitStreamFactory