Uses of Class
org.nuiton.csv.ExporterBuilder
Packages that use ExporterBuilder
Package
Description
This package contains a framework to import and export data from a
csv file using a model which permits us to validate what to do.
-
Uses of ExporterBuilder in org.nuiton.csv
Methods in org.nuiton.csv that return ExporterBuilderModifier and TypeMethodDescriptionAdd a new column for the given property name, using also the property name as the export header name.Add a new column for the given property name and export as the given header name.<T> ExporterBuilder<O> ExporterBuilder.addColumn(String headerName, String propertyName, ValueFormatter<T> valueFormatter) Add a new column for the given property name and export as the given header name.ExporterBuilder.addColumn(String headerName, ValueGetter<O, String> valueGetter) Add a new column for the given property name and export as the given header name.<T> ExporterBuilder<O> ExporterBuilder.addColumn(String headerName, ValueGetter<O, T> valueGetter, ValueFormatter<T> valueFormatter) Add a new column for the given property name and exported as the given header name.ExporterBuilder.addColumns(Iterable<ExportableColumn<O, Object>> columns) Add the given columns.static <O> ExporterBuilder<O> Exporter.builder()Creates a new empty exporter builder.static <O> ExporterBuilder<O> Exporter.builder(ExporterConfiguration<O> configuration) Creates a new exporter builder from the given configuration.static <O> ExporterBuilder<O> Exporter.builder(ExportModel<O> model) Creates a new exporter builder from the given model.ExporterBuilder.setCellSeparator(String cellSeparator) Set theExporterConfiguration.cellSeparatorand return the builder.ExporterBuilder.setCharset(Charset charset) Set theExporterConfiguration.charsetand return the builder.ExporterBuilder.setEndOfLineSeparator(String endOfLineSeparator) Set theExporterConfiguration.endOfLineSeparatorand return the builder.Exporter.toBuilder()Creates a new exporter builder from this exporter (to reuse his configuration).