public interface GravatarService
Modifier and Type | Method and Description |
---|---|
String |
computeHash(String mail)
Computes the Gravatar hash for a mail address.
|
File |
fetchGravatar(String hash)
Fetch a File of the Gravatar image for the given hash.
|
String computeHash(String mail)
mail
- Mail address to hashFile fetchGravatar(String hash) throws IOException
The files are cached for a certain time.
hash
- Gravatar image hashIOException
Copyright © 2011–2017. All rights reserved.