Index
All Classes and Interfaces|All Packages
A
- act() - Method in interface com.github.ngoanh2n.csv.CsvComparisonSource
-
Provides actual CSV file needs to compare.
B
- build() - Method in class com.github.ngoanh2n.csv.CsvComparisonOptions.Builder
-
Build CsvComparisonOptions based on CsvComparisonOptions.Builder.
- build() - Method in class com.github.ngoanh2n.csv.CsvComparisonResultOptions.Builder
-
Build CsvComparisonResultOptions based on CsvComparisonResultOptions.Builder.
- builder() - Static method in interface com.github.ngoanh2n.csv.CsvComparisonOptions
-
Gets CsvComparisonOptions.Builder class where allows to build your CsvComparisonOptions.
- builder() - Static method in interface com.github.ngoanh2n.csv.CsvComparisonResultOptions
-
Gets CsvComparisonResultOptions.Builder class where allows to build your CsvComparisonResultOptions.
C
- charset() - Method in interface com.github.ngoanh2n.csv.CsvComparisonOptions
-
Charset for reading and writing CSV files.
- columnId() - Method in interface com.github.ngoanh2n.csv.CsvComparisonOptions
-
Which column index or name where has a data field unique.
- com.github.ngoanh2n.csv - package com.github.ngoanh2n.csv
- compare(CsvComparisonSource) - Static method in class com.github.ngoanh2n.csv.CsvComparator
-
Compare 2 CSV files.
- compare(CsvComparisonSource, CsvComparisonOptions) - Static method in class com.github.ngoanh2n.csv.CsvComparator
-
Compare 2 CSV files.
- comparisonFinished(CsvComparisonOptions, CsvComparisonSource, CsvComparisonResult) - Method in class com.github.ngoanh2n.csv.CsvComparisonOutput
-
Callback after CsvComparator.compare(CsvComparisonSource, CsvComparisonOptions).
- comparisonFinished(CsvComparisonOptions, CsvComparisonSource, CsvComparisonResult) - Method in interface com.github.ngoanh2n.csv.CsvComparisonVisitor
-
Callback after CsvComparator.compare(CsvComparisonSource, CsvComparisonOptions).
- comparisonStarted(CsvComparisonOptions, CsvComparisonSource) - Method in class com.github.ngoanh2n.csv.CsvComparisonOutput
-
Callback before CsvComparator.compare(CsvComparisonSource, CsvComparisonOptions).
- comparisonStarted(CsvComparisonOptions, CsvComparisonSource) - Method in interface com.github.ngoanh2n.csv.CsvComparisonVisitor
-
Callback before CsvComparator.compare(CsvComparisonSource, CsvComparisonOptions).
- create(File, File) - Static method in interface com.github.ngoanh2n.csv.CsvComparisonSource
-
Creates a comparison source and make sure it is not null.
- CsvComparator - Class in com.github.ngoanh2n.csv
-
This class handles to compare CsvComparisonSource.exp() and CsvComparisonSource.act().
- CsvComparisonOptions - Interface in com.github.ngoanh2n.csv
-
This class allows to adjust CsvComparator by your expectation.
- CsvComparisonOptions.Builder - Class in com.github.ngoanh2n.csv
-
This class allows to build CsvComparisonOptions.
- CsvComparisonOutput - Class in com.github.ngoanh2n.csv
-
Default implementation for CsvComparisonVisitor for writing outputs.
- CsvComparisonOutput() - Constructor for class com.github.ngoanh2n.csv.CsvComparisonOutput
-
Default constructor.
- CsvComparisonResult - Interface in com.github.ngoanh2n.csv
-
The result of CsvComparator.
- CsvComparisonResultOptions - Interface in com.github.ngoanh2n.csv
-
This class allows to adjust CsvComparisonResult output by your expectation.
- CsvComparisonResultOptions.Builder - Class in com.github.ngoanh2n.csv
-
This class allows to build CsvComparisonResultOptions.
- CsvComparisonSource - Interface in com.github.ngoanh2n.csv
-
This interface should be used to provide comparison source for CsvComparator.
- CsvComparisonVisitor - Interface in com.github.ngoanh2n.csv
-
This interface should be used to walk through CsvComparator.
D
- defaults() - Static method in interface com.github.ngoanh2n.csv.CsvComparisonOptions
-
Gets CsvComparisonOptions with default options.
- defaults() - Static method in interface com.github.ngoanh2n.csv.CsvComparisonResultOptions
-
Gets CsvComparisonResultOptions with default options.
E
- exp() - Method in interface com.github.ngoanh2n.csv.CsvComparisonSource
-
Provides expected CSV file.
I
- includeHeaders() - Method in interface com.github.ngoanh2n.csv.CsvComparisonResultOptions
-
Whether included headers row in output files.
- includeHeaders(boolean) - Method in class com.github.ngoanh2n.csv.CsvComparisonResultOptions.Builder
-
Indicate which includes headers row to comparison result output files.
- isDeleted() - Method in interface com.github.ngoanh2n.csv.CsvComparisonResult
-
Whether there is any row deleted in the CsvComparisonSource.act() CSV file against to CsvComparisonSource.exp() CSV file.
- isDifferent() - Method in interface com.github.ngoanh2n.csv.CsvComparisonResult
-
Whether there is any difference between CsvComparisonSource.act() file and CsvComparisonSource.exp() file.
- isInserted() - Method in interface com.github.ngoanh2n.csv.CsvComparisonResult
-
Whether there is any row inserted in the CsvComparisonSource.act() CSV file against to CsvComparisonSource.exp() CSV file.
- isModified() - Method in interface com.github.ngoanh2n.csv.CsvComparisonResult
-
Whether there is any row modified in the CsvComparisonSource.act() CSV file against to CsvComparisonSource.exp() CSV file.
L
- location() - Method in interface com.github.ngoanh2n.csv.CsvComparisonResultOptions
-
Where you want to store comparison result output files.
- log - Static variable in interface com.github.ngoanh2n.csv.CsvComparisonSource
-
Default Logger for CsvComparisonSource.
P
- parserSettings() - Method in interface com.github.ngoanh2n.csv.CsvComparisonOptions
-
The configuration class used by the CSV parser.
R
- resultOptions() - Method in interface com.github.ngoanh2n.csv.CsvComparisonOptions
-
The comparison result options to adjust your CsvComparisonResult output.
- rowDeleted(CsvComparisonOptions, String[], String[]) - Method in class com.github.ngoanh2n.csv.CsvComparisonOutput
-
Callback for when CsvComparator detected a row deleted.
- rowDeleted(CsvComparisonOptions, String[], String[]) - Method in interface com.github.ngoanh2n.csv.CsvComparisonVisitor
-
Callback for when CsvComparator detected a row deleted.
- rowInserted(CsvComparisonOptions, String[], String[]) - Method in class com.github.ngoanh2n.csv.CsvComparisonOutput
-
Callback for when CsvComparator detected a row inserted.
- rowInserted(CsvComparisonOptions, String[], String[]) - Method in interface com.github.ngoanh2n.csv.CsvComparisonVisitor
-
Callback for when CsvComparator detected a row inserted.
- rowKept(CsvComparisonOptions, String[], String[]) - Method in class com.github.ngoanh2n.csv.CsvComparisonOutput
-
Callback for when CsvComparator detected a row kept.
- rowKept(CsvComparisonOptions, String[], String[]) - Method in interface com.github.ngoanh2n.csv.CsvComparisonVisitor
-
Callback for when CsvComparator detected a row kept.
- rowModified(CsvComparisonOptions, String[], String[], List<HashMap<String, String>>) - Method in class com.github.ngoanh2n.csv.CsvComparisonOutput
-
Callback for when CsvComparator detected a row modified.
- rowModified(CsvComparisonOptions, String[], String[], List<HashMap<String, String>>) - Method in interface com.github.ngoanh2n.csv.CsvComparisonVisitor
-
Callback for when CsvComparator detected a row modified.
- rowsDeleted() - Method in interface com.github.ngoanh2n.csv.CsvComparisonResult
-
Get all deleted rows in the CsvComparisonSource.act() CSV file against to CsvComparisonSource.exp() CSV file.
- rowsInserted() - Method in interface com.github.ngoanh2n.csv.CsvComparisonResult
-
Get all inserted rows in the CsvComparisonSource.act() CSV file against to CsvComparisonSource.exp() CSV file.
- rowsKept() - Method in interface com.github.ngoanh2n.csv.CsvComparisonResult
-
Get all kept rows in the CsvComparisonSource.act() CSV file against to CsvComparisonSource.exp() CSV file.
- rowsModified() - Method in interface com.github.ngoanh2n.csv.CsvComparisonResult
-
Get all modified rows in the CsvComparisonSource.act() CSV file against to CsvComparisonSource.exp() CSV file.
S
- selectColumnId(int) - Method in class com.github.ngoanh2n.csv.CsvComparisonOptions.Builder
-
Set column index where has a data field unique.
- selectColumnId(String) - Method in class com.github.ngoanh2n.csv.CsvComparisonOptions.Builder
-
Set column name where has a data field unique.
- selectColumns(Integer...) - Method in class com.github.ngoanh2n.csv.CsvComparisonOptions.Builder
-
Select columns to compare (0-based).
- selectColumns(String...) - Method in class com.github.ngoanh2n.csv.CsvComparisonOptions.Builder
-
Select columns to compare.
- setCharset(Charset) - Method in class com.github.ngoanh2n.csv.CsvComparisonOptions.Builder
-
Set charset to read and writing CSV files.
- setLineSeparator(String) - Method in class com.github.ngoanh2n.csv.CsvComparisonOptions.Builder
-
Defines the line separator sequence that should be used for parsing and writing.
- setLocation(Path) - Method in class com.github.ngoanh2n.csv.CsvComparisonResultOptions.Builder
-
Set location where you want to store comparison result output files.
- setResultOptions(CsvComparisonResultOptions) - Method in class com.github.ngoanh2n.csv.CsvComparisonOptions.Builder
-
Set CsvComparisonResultOptions to adjust CsvComparisonResult output.
W
- withoutHeaders() - Method in class com.github.ngoanh2n.csv.CsvComparisonOptions.Builder
-
This means, CSV files hasn't headers.
- writeOutputs() - Method in interface com.github.ngoanh2n.csv.CsvComparisonResultOptions
-
Whether wrote output files.
- writeOutputs(boolean) - Method in class com.github.ngoanh2n.csv.CsvComparisonResultOptions.Builder
-
Indicate which writes output files.
All Classes and Interfaces|All Packages