public class Internet extends Object
Constructor and Description |
---|
Internet(Name name,
Lorem lorem,
FakeValuesServiceInterface fakeValuesService,
RandomService randomService) |
Modifier and Type | Method and Description |
---|---|
String |
avatar()
Generates a random avatar url based on a collection of profile pictures of real people.
|
String |
domainName() |
String |
domainSuffix() |
String |
domainWord() |
String |
emailAddress() |
String |
emailAddress(String localPart) |
String |
image()
Generates a random image url based on the lorempixel service.
|
String |
image(Integer width,
Integer height,
Boolean gray,
String text)
Same as image() but allows client code to choose a few image characteristics
|
String |
password() |
String |
password(int minimumLength,
int maximumLength) |
String |
password(int minimumLength,
int maximumLength,
boolean includeUppercase) |
String |
password(int minimumLength,
int maximumLength,
boolean includeUppercase,
boolean includeSpecial) |
String |
url() |
public Internet(Name name, Lorem lorem, FakeValuesServiceInterface fakeValuesService, RandomService randomService)
public String emailAddress()
public String domainName()
public String domainWord()
public String domainSuffix()
public String url()
public String avatar()
public String image()
public String image(Integer width, Integer height, Boolean gray, String text)
width
- the image widthheight
- the image heightgray
- true for gray image and false for color imagetext
- optional custom text on the selected picturepublic String password()
public String password(int minimumLength, int maximumLength)
public String password(int minimumLength, int maximumLength, boolean includeUppercase)
public String password(int minimumLength, int maximumLength, boolean includeUppercase, boolean includeSpecial)
Copyright © 2016. All Rights Reserved.