org.apache.poi.hssf.usermodel
Class HSSFPictureData
java.lang.Object
org.apache.poi.hssf.usermodel.HSSFPictureData
public class HSSFPictureData
- extends java.lang.Object
Represents binary data stored in the file. Eg. A GIF, JPEG etc...
- Author:
- Daniel Noll
Method Summary |
byte[] |
getData()
Gets the picture data. |
java.lang.String |
suggestFileExtension()
Suggests a file extension for this image. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
getData
public byte[] getData()
- Gets the picture data.
- Returns:
- the picture data.
suggestFileExtension
public java.lang.String suggestFileExtension()
- Suggests a file extension for this image.
- Returns:
- the file extension.
Copyright 2008 The Apache Software Foundation or
its licensors, as applicable.