com.mirrorworlds.lifestreams.mail.tnef
Class TnefRendData

java.lang.Object
  |
  +--com.mirrorworlds.lifestreams.mail.tnef.TnefRendData

public class TnefRendData
extends java.lang.Object

Contains TNEF rendering information. This class is based on the _renddata structure as defined in the tnef.h header file.

Version:
Feb 20, 2000 Lifestreams 1.5

Field Summary
static int ATYP_FILE
          Tags a Attachment as a file.
static int ATYP_MAX
          Tags a Attachment as ??(unknown?)
static int ATYP_NULL
          Tags a Attachment of type NULL (unknown?)
static int ATYP_OLE
          Tags a Attachment as an OLE object.
static int ATYP_PIX
          Tags a Attachment as a bitmap (details unknown?)
 int aType
          Type of data (eg: ATYP_FILE)
 int dwFlags
          Rendering Flags.
 int dxWidth
          Rendering Width.
 int dyHeight
          Rendering Height.
 int ulPosition
          Rendering position.
 
Constructor Summary
TnefRendData(byte[] b)
          Creates TNEF RendData object from the data bytes obtained from the TNEF stream.
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ATYP_NULL

public static final int ATYP_NULL
Tags a Attachment of type NULL (unknown?)

ATYP_FILE

public static final int ATYP_FILE
Tags a Attachment as a file.

ATYP_OLE

public static final int ATYP_OLE
Tags a Attachment as an OLE object.

ATYP_PIX

public static final int ATYP_PIX
Tags a Attachment as a bitmap (details unknown?)

ATYP_MAX

public static final int ATYP_MAX
Tags a Attachment as ??(unknown?)

aType

public int aType
Type of data (eg: ATYP_FILE)

ulPosition

public int ulPosition
Rendering position. (details unknown. X,Y struct?)

dxWidth

public int dxWidth
Rendering Width. (details unknown)

dyHeight

public int dyHeight
Rendering Height. (details unknown)

dwFlags

public int dwFlags
Rendering Flags. (details unknown) if dwFlag == MAC_BINARY then attachment data bytes are in Mac Binary format. (mac bin hex?)
Constructor Detail

TnefRendData

public TnefRendData(byte[] b)
Creates TNEF RendData object from the data bytes obtained from the TNEF stream.
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object