Package loci.poi.hssf.usermodel
Class HSSFPictureData
- java.lang.Object
-
- loci.poi.hssf.usermodel.HSSFPictureData
-
public class HSSFPictureData extends Object
Represents binary data stored in the file. Eg. A GIF, JPEG etc...- Author:
- Daniel Noll
-
-
Field Summary
Fields Modifier and Type Field Description static short
FORMAT_MASK
static short
MSOBI_DIB
static short
MSOBI_EMF
static short
MSOBI_JPEG
static short
MSOBI_PICT
static short
MSOBI_PNG
static short
MSOBI_WMF
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getData()
Gets the picture data.String
suggestFileExtension()
Suggests a file extension for this image.
-
-
-
Field Detail
-
MSOBI_WMF
public static final short MSOBI_WMF
- See Also:
- Constant Field Values
-
MSOBI_EMF
public static final short MSOBI_EMF
- See Also:
- Constant Field Values
-
MSOBI_PICT
public static final short MSOBI_PICT
- See Also:
- Constant Field Values
-
MSOBI_PNG
public static final short MSOBI_PNG
- See Also:
- Constant Field Values
-
MSOBI_JPEG
public static final short MSOBI_JPEG
- See Also:
- Constant Field Values
-
MSOBI_DIB
public static final short MSOBI_DIB
- See Also:
- Constant Field Values
-
FORMAT_MASK
public static final short FORMAT_MASK
- See Also:
- Constant Field Values
-
-
Method Detail
-
getData
public byte[] getData()
Gets the picture data.- Returns:
- the picture data.
-
suggestFileExtension
public String suggestFileExtension()
Suggests a file extension for this image.- Returns:
- the file extension.
-
-