AbstractLowCodeLoadOptionsProvider

Inheritance: java.lang.Object

public abstract class AbstractLowCodeLoadOptionsProvider

Implementation to provide multiple load options for processes that use multiple inputs(such as template files).

Remarks

For example, SpreadsheetMerger feature requires multiple template files to merge.

Constructors

ConstructorDescription
AbstractLowCodeLoadOptionsProvider()

Methods

MethodDescription
equals(Object arg0)
finish(LowCodeLoadOptions part)Releases resources after processing currently part of input.
getClass()
getCurrent()Gets the load options from which to load data of currently processed part.
hashCode()
moveNext()Checks whether there is more input.
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

AbstractLowCodeLoadOptionsProvider()

public AbstractLowCodeLoadOptionsProvider()

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

finish(LowCodeLoadOptions part)

public void finish(LowCodeLoadOptions part)

Releases resources after processing currently part of input.

Remarks

By default this method just closes the stream specified by the LowCodeLoadOptions.getInputStream() directly(if the load options specified a Stream as source). User may overwrite this method to control how to release resources according to their requirement and the implementation of getCurrent().

Parameters:

ParameterTypeDescription
partLowCodeLoadOptionsthe load options used for currently split part.

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getCurrent()

public abstract LowCodeLoadOptions getCurrent()

Gets the load options from which to load data of currently processed part.

Returns: LowCodeLoadOptions

hashCode()

public native int hashCode()

Returns: int

moveNext()

public abstract boolean moveNext()

Checks whether there is more input.

Returns: boolean

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

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