Class AvatarGenerator
java.lang.Object
com.datengaertnerei.test.dataservice.avatar.AvatarGenerator
- All Implemented Interfaces:
IAvatarGenerator
Generates random avatar images
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
AvatarGenerator
public AvatarGenerator()ctor
-
-
Method Details
-
getAvatar
public byte[] getAvatar(boolean female) - Specified by:
getAvatar
in interfaceIAvatarGenerator
- Parameters:
female
- female or not (male)- Returns:
- PNG image as byte array
-