/** * The {@link FileSplitterSpec} builder factory method with {@code iterator} and {@code markers} * flags specified. * @param iterator the {@code boolean} flag to specify the {@code iterator} mode or not. * @param markers true to emit start of file/end of file marker messages before/after the data. * @return the {@link FileSplitterSpec} builder. * @since 1.1 */ public static FileSplitterSpec splitter(boolean iterator, boolean markers) { return new FileSplitterSpec(iterator, markers); }
/** * The {@link FileSplitterSpec} builder factory method with {@code iterator} and {@code markers} * flags specified. * @param iterator the {@code boolean} flag to specify the {@code iterator} mode or not. * @param markers true to emit start of file/end of file marker messages before/after the data. * @return the {@link FileSplitterSpec} builder. * @since 1.1 */ public static FileSplitterSpec splitter(boolean iterator, boolean markers) { return new FileSplitterSpec(iterator, markers); }