Package org.apache.poi.ss.usermodel
Interface PictureData
- All Known Implementing Classes:
HSSFPictureData
,XSSFPictureData
public interface PictureData
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
getData()
Gets the picture data.Returns the mime type for the imageint
Suggests a file extension for this image.
-
Method Details
-
getData
byte[] getData()Gets the picture data.- Returns:
- the picture data.
-
suggestFileExtension
String suggestFileExtension()Suggests a file extension for this image.- Returns:
- the file extension.
-
getMimeType
String getMimeType()Returns the mime type for the image -
getPictureType
int getPictureType()- Returns:
- the POI internal image type, 0 if unknown image type
- See Also:
-