public class WriterOperator<T> extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
WriterOperator<T> |
converter(java.util.function.Function<T,Map<String,Object>> mapConverter) |
WriterOperator<T> |
header(ExcelHeader header) |
WriterOperator<T> |
header(String key,
String header) |
WriterOperator<T> |
header(String key,
String header,
CellDataType type) |
WriterOperator<T> |
headers(Class<?> typeSpec) |
WriterOperator<T> |
headers(Collection<ExcelHeader> headers) |
static <T> WriterOperator<T> |
of(ExcelWriter writer) |
WriterOperator<T> |
option(ExcelOption option) |
WriterOperator<T> |
options(ExcelOption... option) |
protected Map<String,Object> |
toMap(T val) |
reactor.core.publisher.Mono<Void> |
write(reactor.core.publisher.Flux<T> dataStream,
OutputStream output) |
reactor.core.publisher.Flux<byte[]> |
writeBuffer(reactor.core.publisher.Flux<T> dataStream) |
reactor.core.publisher.Flux<byte[]> |
writeBuffer(reactor.core.publisher.Flux<T> dataStream,
int buffer) |
public WriterOperator<T> header(String key, String header, CellDataType type)
public WriterOperator<T> converter(java.util.function.Function<T,Map<String,Object>> mapConverter)
public WriterOperator<T> header(String key, String header)
public WriterOperator<T> header(ExcelHeader header)
public WriterOperator<T> headers(Collection<ExcelHeader> headers)
public WriterOperator<T> headers(Class<?> typeSpec)
public WriterOperator<T> options(ExcelOption... option)
public WriterOperator<T> option(ExcelOption option)
public reactor.core.publisher.Flux<byte[]> writeBuffer(reactor.core.publisher.Flux<T> dataStream)
public reactor.core.publisher.Flux<byte[]> writeBuffer(reactor.core.publisher.Flux<T> dataStream, int buffer)
public reactor.core.publisher.Mono<Void> write(reactor.core.publisher.Flux<T> dataStream, OutputStream output)
public static <T> WriterOperator<T> of(ExcelWriter writer)
Copyright © 2020–2022. All rights reserved.