Skip to content
No description, website, or topics provided.
Java
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.mvn/wrapper
src
.gitignore
.travis.yml
README.md
mvnw
mvnw.cmd
pom.xml

README.md

基于Reactor的excel,csv导入导出

Build Status codecov

ReactorExcel
        .writer("csv")
        .header("id", "ID")
        .header("name", "name")
        .write(Flux.range(0, 1000)
                .map(i -> new HashMap<String, Object>() {{
                    put("id", i);
                    put("name", "test" + i);
                }}), new FileOutputStream("./target/test.csv"))
        .as(StepVerifier::create)
        .expectComplete()
        .verify();
 ReactorExcel
        .mapReader("csv")
        .read(inputStream)
        .as(StepVerifier::create)
        .subscribe(map->System.out.println(map));
You can’t perform that action at this time.