public static class ProfileImageProvider.UserProfileImage extends Object
Modifier and Type | Field and Description |
---|---|
private String |
_filename |
private InputStream |
_inputstream |
private Long |
_length |
Constructor and Description |
---|
UserProfileImage(InputStream inputstream)
Constructor
|
UserProfileImage(InputStream inputstream,
String filename,
Long length)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getFilename()
Retrieves the filename
|
InputStream |
getInputstream()
Retrieves the input stream
|
Long |
getLength()
Retrieves the length
|
private final InputStream _inputstream
public UserProfileImage(InputStream inputstream)
inputstream
- The image input streampublic UserProfileImage(InputStream inputstream, String filename, Long length)
inputstream
- The image input streamfilename
- The file name or null if unknownlength
- The file length if knownpublic InputStream getInputstream()
public String getFilename()