
net.datafaker.providers.base.Passport Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of datafaker Show documentation
Show all versions of datafaker Show documentation
This library is a improved port of JavaFaker (as well as Ruby's stympy/faker gem and Perl's Data::Faker library) that
generates fake data.
It's useful when you're developing a new project and need some pretty data for showcase.
package net.datafaker.providers.base;
/**
* @since 0.9.0
*/
public class Passport extends AbstractProvider {
protected Passport(BaseProviders faker) {
super(faker);
}
public String valid() {
return faker.regexify(faker.resolve("passport.valid"));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy