package faker
- Alphabetic
- Public
- All
Type Members
-
case class
Addresses(state: String, city: String, zip_code: String, street: String, phone_number: String) extends Serializable with Product
Addresses case class representing a fake address with various fields.
Addresses case class representing a fake address with various fields.
- state
The state of the address.
- city
The city of the address.
- zip_code
The zip code of the address.
- street
The street of the address.
- phone_number
The phone number associated with the address.
- case class Age(ageRanges: Array[Int]) extends Product with Serializable
- case class Company(language: String = Language.English) extends Product with Serializable
- case class Contact(language: String = Language.English) extends Product with Serializable
- case class Finance(language: String = Language.English) extends Product with Serializable
- case class ID(language: String = Language.English) extends Product with Serializable
- case class Legal(language: String = Language.English) extends Product with Serializable
- case class Location(language: String = Language.English) extends Product with Serializable
- case class Person(language: String = Language.English) extends Product with Serializable
- case class Profession(language: String = Language.English) extends Product with Serializable
- trait RandomsElements extends AnyRef
- case class StaticObfuscationEntity(original: String, entity: String, fake: String) extends Serializable with Product
- case class URL() extends Product with Serializable
Value Members
- object Addresses extends Serializable
- object Faker extends RandomsElements
- object FakerConfig
- object FakerConfigDefaults
- object Gender
- object SelectionUtil
- object StaticObfuscationEntity extends Serializable
-
object
UsStates
Reference data for the 50 US states, used to make STATE obfuscation format aware.
Reference data for the 50 US states, used to make STATE obfuscation format aware.
A STATE chunk can reach the obfuscator either spelled out ("New York") or abbreviated ("NY"). The fake pools are kept in two resources that mirror each other:
/faker/location/state/en.txtholds the spelled out names/faker/location/state/abbreviation_en.txtholds the two letter abbreviations
This object only provides the lookups needed to decide which pool to use and to convert between the two formats. The conversion is required by the geographic consistency path because Addresses.state is always stored as a two letter abbreviation.