public class RendData extends 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.
|
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 IOException
data
- the TNEF stream to parse RendData fromIOException
- 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()
This software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.