net.freeutils.tnef
public class RendData extends Object
RendData
class encapsulates a TNEF attachment's
rendering data.
Since: 2003-04-25
Field Summary | |
---|---|
static int | atypFile
RendData type constant. |
static int | atypMax
RendData type constant. |
static int | atypNull
RendData type constant. |
static int | atypOle
RendData type constant. |
static int | atypPicture
RendData type constant. |
static int | MAC_BINARY
RendData type constant. |
Constructor Summary | |
---|---|
RendData(RawInputStream data)
Constructs a RendData using the given TNEF stream.
| |
RendData(int type, long position, int width, int height, long flags)
Constructs a RendData containing the specified values.
|
Method Summary | |
---|---|
long | getFlags()
Gets the RendData flags.
|
int | getHeight()
Gets the RendData height.
|
long | getPosition()
Gets the RendData position.
|
int | getType()
Gets the RendData type.
|
int | getWidth()
Gets the RendData width.
|
String | toString()
Returns a string representation of this object.
|
Parameters: data the TNEF stream to parse RendData from
Throws: IOException if the stream end is reached, or if an I/O error occurs
Parameters: type the type of rendering data (from atyp* constants) position the position to render data at width the width of object to be rendered height the height of object to be rendered flags the flags describing the rendering data
Returns: the RendData flags
Returns: the RendData height
Returns: the RendData position
Returns: the RendData type
Returns: the RendData width
Returns: a string representation of this object