Package org.ametys.plugins.core.ui.user
Class ProfileImageProvider.UserProfileImage
java.lang.Object
org.ametys.plugins.core.ui.user.ProfileImageProvider.UserProfileImage
- Enclosing interface:
- ProfileImageProvider
Basic structure holding necessary data representing an user profile image
-
Constructor Summary
ConstructorDescriptionUserProfileImage
(InputStream inputstream) ConstructorUserProfileImage
(InputStream inputstream, String filename, Long length) Constructor -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the filenameRetrieves the input streamRetrieves the length
-
Constructor Details
-
UserProfileImage
Constructor- Parameters:
inputstream
- The image input stream
-
UserProfileImage
Constructor- Parameters:
inputstream
- The image input streamfilename
- The file name or null if unknownlength
- The file length if known
-
-
Method Details
-
getInputstream
Retrieves the input stream- Returns:
- the input stream
-
getFilename
Retrieves the filename- Returns:
- the filename or null if not defined
-
getLength
Retrieves the length- Returns:
- the length or null if unknown
-