SpreadsheetSplitter

Inheritance: java.lang.Object

public class SpreadsheetSplitter

Splits spreadsheet file into multiple parts.

Example

         SpreadsheetSplitter.process("template.xlsx", "split.xlsx");

Methods

MethodDescription
equals(Object arg0)
getClass()
hashCode()
notify()
notifyAll()
process(LowCodeSplitOptions options)Splits spreadsheet file into multiple parts.
process(String templateFile, String resultFile)Splits given template file into multiple parts.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

process(LowCodeSplitOptions options)

public static void process(LowCodeSplitOptions options)

Splits spreadsheet file into multiple parts.

Parameters:

ParameterTypeDescription
optionsLowCodeSplitOptionsOptions for splitting spreadsheet

process(String templateFile, String resultFile)

public static void process(String templateFile, String resultFile)

Splits given template file into multiple parts.

Remarks

The output files will be build from the specified resultant file by appending sequence number of the sheet and split part. For example, if the specified output file is Split.xlsx, then the generated files will be Split_0_0.xlsx, Split_0_1.xlsx, …, Split_1_0.xlsx, …

Parameters:

ParameterTypeDescription
templateFilejava.lang.StringThe template file to be split
resultFilejava.lang.StringThe resultant file(name pattern)

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int