public class ExcelClientImpl extends Object implements ExcelClient
ENVIRONMENT, MAPPING| Modifier and Type | Method and Description |
|---|---|
io.vertx.core.Future<io.vertx.core.buffer.Buffer> |
exportTable(String identifier,
io.vertx.core.json.JsonArray data) |
ExcelClient |
exportTable(String identifier,
io.vertx.core.json.JsonArray data,
io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.buffer.Buffer>> handler) |
<T> ExcelClient |
importTable(String tableOnly,
InputStream in,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Set<T>>> handler) |
<T> ExcelClient |
importTable(String tableOnly,
String filename,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Set<T>>> handler) |
Set<ExTable> |
ingest(InputStream in,
boolean isXlsx) |
ExcelClient |
ingest(InputStream in,
boolean isXlsx,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Set<ExTable>>> handler) |
Set<ExTable> |
ingest(String filename) |
ExcelClient |
ingest(String filename,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Set<ExTable>>> handler) |
ExcelClient |
init(io.vertx.core.json.JsonObject config) |
<T> ExcelClient |
loading(InputStream in,
boolean isXlsx,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Set<T>>> handler)
Two format supported here: 2013 / 2017
|
<T> ExcelClient |
loading(String filename,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Set<T>>> handler)
Excel file data loading
|
<T> T |
saveEntity(io.vertx.core.json.JsonObject data,
ExTable table)
Save entity ( table -> data )
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateSharedpublic ExcelClient init(io.vertx.core.json.JsonObject config)
init in interface ExcelClientinit in interface io.vertx.up.plugin.TpClient<ExcelClient>public ExcelClient ingest(String filename, io.vertx.core.Handler<io.vertx.core.AsyncResult<Set<ExTable>>> handler)
ingest in interface ExcelClientpublic Set<ExTable> ingest(String filename)
ingest in interface ExcelClientpublic ExcelClient ingest(InputStream in, boolean isXlsx, io.vertx.core.Handler<io.vertx.core.AsyncResult<Set<ExTable>>> handler)
ingest in interface ExcelClientpublic Set<ExTable> ingest(InputStream in, boolean isXlsx)
ingest in interface ExcelClientpublic <T> ExcelClient loading(String filename, io.vertx.core.Handler<io.vertx.core.AsyncResult<Set<T>>> handler)
ExcelClientloading in interface ExcelClientfilename - data input filehandler - callback handler to process Setpublic <T> ExcelClient importTable(String tableOnly, String filename, io.vertx.core.Handler<io.vertx.core.AsyncResult<Set<T>>> handler)
importTable in interface ExcelClientpublic <T> ExcelClient importTable(String tableOnly, InputStream in, io.vertx.core.Handler<io.vertx.core.AsyncResult<Set<T>>> handler)
importTable in interface ExcelClientpublic <T> ExcelClient loading(InputStream in, boolean isXlsx, io.vertx.core.Handler<io.vertx.core.AsyncResult<Set<T>>> handler)
ExcelClientloading in interface ExcelClientpublic <T> T saveEntity(io.vertx.core.json.JsonObject data,
ExTable table)
ExcelClientsaveEntity in interface ExcelClientpublic ExcelClient exportTable(String identifier, io.vertx.core.json.JsonArray data, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.buffer.Buffer>> handler)
exportTable in interface ExcelClientpublic io.vertx.core.Future<io.vertx.core.buffer.Buffer> exportTable(String identifier, io.vertx.core.json.JsonArray data)
exportTable in interface ExcelClientCopyright © 2020. All rights reserved.