org.apache.tools.ant.taskdefs.email

Class Header

public class Header extends Object

Class representing a generic e-mail header.

Since: Ant 1.7

Method Summary
StringgetName()
Get the name of this Header.
StringgetValue()
Get the value of this Header.
voidsetName(String name)
Set the name of this Header.
voidsetValue(String value)
Set the value of this Header.

Method Detail

getName

public String getName()
Get the name of this Header.

Returns: name as String.

getValue

public String getValue()
Get the value of this Header.

Returns: value as String.

setName

public void setName(String name)
Set the name of this Header.

Parameters: name the name to set.

setValue

public void setValue(String value)
Set the value of this Header.

Parameters: value the value to set.