Package | Description |
---|---|
com.github.javafaker | |
com.github.javafaker.idnumbers | |
com.github.javafaker.service |
Modifier and Type | Method and Description |
---|---|
static Faker |
Faker.instance()
Constructs Faker instance with default argument.
|
static Faker |
Faker.instance(Locale locale)
Constructs Faker instance with provided
Locale . |
static Faker |
Faker.instance(Locale locale,
Random random)
|
static Faker |
Faker.instance(Random random)
Constructs Faker instance with provided
Random . |
Modifier and Type | Method and Description |
---|---|
String |
SvSEIdNumber.getInvalidSsn(Faker f) |
String |
SvSEIdNumber.getValidSsn(Faker f) |
String |
EnIdNumber.getValidSsn(Faker f) |
Modifier and Type | Method and Description |
---|---|
String |
FakeValuesService.expression(String expression,
Faker faker)
resolves an expression using the current faker.
|
String |
FakeValuesService.resolve(String key,
Object current,
Faker root)
Resolves a key to a method on an object.
|
protected String |
FakeValuesService.resolveExpression(String expression,
Object current,
Faker root)
processes a expression in the style #{X.y} using the current objects as the 'current' location
within the yml file (or the
Faker object hierarchy as it were). |
Copyright © 2019. All rights reserved.