Skip to main content

File

Goal

Write mask rule logic to

  • generate strings from file

Ano Structure and Examples

        ...
mask <column> <rule-name>
format %s
file <file-location> random-order?
...
  • Make sure the .txt files resides in the folder src/main/resources/ in the generated project.
  • random-order: Optional keyword that decides if values are picked randomly or sequentially from the file.
  • With multiple input sources, the order of inputs corresponds to the order of the %s´s in the format string
    • 1st %s of the format string receives values from <file-1-location>, 2nd %s receives from <file-2-location>

File Structure

Kayden
Owen
Kyle
Bailey
Brandon
Landon
Erik
  • .txt files
  • One word per line
  • Each line is one value