MCPcopy Create free account
hub / github.com/DiUS/java-faker / avatar

Method avatar

src/main/java/com/github/javafaker/Internet.java:75–77  ·  view source on GitHub ↗

Generates a random avatar url based on a collection of profile pictures of real people. All this avatar have been authorized by its awesome users to be used on live websites (not just mockups). For more information, please visit: http://uifaces.com/authorized @return an url to a random avatar image

()

Source from the content-addressed store, hash-verified

73 * @see <a href="http://uifaces.com/authorized">Authorized UI Faces</a>
74 */
75 public String avatar() {
76 return "https://s3.amazonaws.com/uifaces/faces/twitter/" + faker.fakeValuesService().resolve("internet.avatar", this, faker);
77 }
78
79 /**
80 * Generates a random image url based on the lorempixel service. All the images provided by this service are released

Callers

nothing calls this directly

Calls 2

fakeValuesServiceMethod · 0.80
resolveMethod · 0.45

Tested by

no test coverage detected