Package cdc.util.csv.tools
Class Anonymizer
- java.lang.Object
-
- cdc.util.csv.tools.AbstractFilter<Anonymizer.MainArgs>
-
- cdc.util.csv.tools.Anonymizer
-
public final class Anonymizer extends AbstractFilter<Anonymizer.MainArgs>
Class used to anonymize selected columns.One can:
- limit column length.
- replace characters by a specified character or jam characters (generated random characters).
- preserve white spaces.
- preserve specified characters.
- Author:
- Damien Carbonne
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAnonymizer.MainArgs-
Nested classes/interfaces inherited from class cdc.util.csv.tools.AbstractFilter
AbstractFilter.BaseMainArgs
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.apache.logging.log4j.LoggerLOGGER-
Fields inherited from class cdc.util.csv.tools.AbstractFilter
COLUMNS, margs
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidexecute()static voidexecute(Anonymizer.MainArgs margs)static voidmain(String[] args)-
Methods inherited from class cdc.util.csv.tools.AbstractFilter
addSpecificBaseOptions, analyze, getInputReader, getOutputWriter
-
-
-
-
Method Detail
-
execute
protected void execute() throws IOException- Throws:
IOException
-
execute
public static void execute(Anonymizer.MainArgs margs) throws IOException
- Throws:
IOException
-
main
public static void main(String[] args)
-
-