MediaTypeNames.Text

Inheritance: java.lang.Object

public static final class MediaTypeNames.Text

Specifies the type of text data in an e-mail message attachment.

Fields

FieldDescription
HTMLSpecifies text/html media type
PLAINSpecifies text/plain media type
RICH_TEXTSpecifies text/richtext media type
XMLSpecifies text/xml media type

Methods

MethodDescription
equals(Object arg0)
getClass()
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

HTML

public static final String HTML

Specifies text/html media type

PLAIN

public static final String PLAIN

Specifies text/plain media type

RICH_TEXT

public static final String RICH_TEXT

Specifies text/richtext media type

XML

public static final String XML

Specifies text/xml media type

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int