public class StringAnonymizer extends AbstractAnonymizer<java.lang.String>
| Modifier and Type | Field and Description |
|---|---|
(package private) java.util.Random |
random
Create a random generator
|
attributeAnonymizers, schemaManager| Constructor and Description |
|---|
StringAnonymizer() |
| Modifier and Type | Method and Description |
|---|---|
Attribute |
anonymize(java.util.Map<Value<java.lang.String>,Value<java.lang.String>> valueMap,
Attribute attribute)
Anonymize an attribute using pure random values (either chars of bytes, depending on the Attribute type)
|
setAnonymizers, setSchemaManagerpublic Attribute anonymize(java.util.Map<Value<java.lang.String>,Value<java.lang.String>> valueMap, Attribute attribute)
valueMap - The existing map for value to the associated anonymized counterpartattribute - The attribute to anonymize