public class RendData
extends java.lang.Object
RendData
class encapsulates a TNEF attachment's rendering
data.Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
RendData(int type,
long position,
int width,
int height,
long flags)
Constructs a RendData containing the specified values.
|
RendData(RawInputStream data)
Constructs a RendData using the given TNEF stream.
|
Modifier and Type | Method and Description |
---|---|
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.
|
java.lang.String |
toString()
Returns a string representation of this object.
|
public static final int MAC_BINARY
public static final int atypNull
public static final int atypFile
public static final int atypOle
public static final int atypPicture
public static final int atypMax
public RendData(RawInputStream data) throws java.io.IOException
data
- the TNEF stream to parse RendData fromjava.io.IOException
- if the stream end is reached, or if an I/O error occurspublic RendData(int type, long position, int width, int height, long flags)
type
- the type of rendering data (from atyp* constants)position
- the position to render data atwidth
- the width of object to be renderedheight
- the height of object to be renderedflags
- the flags describing the rendering datapublic int getType()
public long getPosition()
public int getWidth()
public int getHeight()
public long getFlags()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2021. All Rights Reserved.