Package org.apache.poi.ss.usermodel
Interface PictureData
- 
- All Known Implementing Classes:
- HSSFPictureData
 
 public interface PictureData
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]getData()Gets the picture data.StringgetMimeType()Returns the mime type for the imageintgetPictureType()StringsuggestFileExtension()Suggests a file extension for this image.
 
- 
- 
- 
Method Detail- 
getDatabyte[] getData() Gets the picture data.- Returns:
- the picture data.
 
 - 
suggestFileExtensionString suggestFileExtension() Suggests a file extension for this image.- Returns:
- the file extension, without a leading .. Nevernull, but will be empty if the extension is unknown or if the file backing these data does not have an extension.
 
 - 
getMimeTypeString getMimeType() Returns the mime type for the image
 - 
getPictureTypeint getPictureType() - Returns:
- the POI internal image type, 0if unknown image type
- See Also:
- Workbook.PICTURE_TYPE_DIB,- Workbook.PICTURE_TYPE_EMF,- Workbook.PICTURE_TYPE_JPEG,- Workbook.PICTURE_TYPE_PICT,- Workbook.PICTURE_TYPE_PNG,- Workbook.PICTURE_TYPE_WMF
 
 
- 
 
-