ITextSplitOptions
Leave feedback
On this page
All Implemented Interfaces: com.groupdocs.merger.domain.options.interfaces.IOptions
public interface ITextSplitOptions extends IOptions
Interface for the text splitting options.
| Method | Description |
|---|---|
| getLineNumbers() | Line numbers for text splitting. |
| getMode() | Mode for text 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. |
public abstract int[] getLineNumbers()
Line numbers for text splitting.
Returns: int[]
public abstract int getMode()
Mode for text splitting.
Returns: int
public abstract void validate(FileType fileType)
Validates the split options.
Parameters:
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.
public abstract SplitStreamFactory getSplitStreamFactory()
Delegate that defines method to create output split stream.
Returns: SplitStreamFactory
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.