MediaTypeNames

Inheritance: java.lang.Object

public class MediaTypeNames

Specifies the media type names for an e-mail message.

Constructors

Constructor Description
MediaTypeNames()

Methods

Method Description
parseName(String name) Converts file name extension to media type name

MediaTypeNames()

public MediaTypeNames()

parseName(String name)

public static String parseName(String name)

Converts file name extension to media type name

Parameters:

Parameter Type Description
name java.lang.String File name extension

Returns: java.lang.String - Returns media type name