org.apache.tools.ant.taskdefs.email

Class Header


public class Header
extends java.lang.Object

Class representing a generic e-mail header.
Since:
Ant 1.7

Method Summary

String
getName()
Get the name of this Header.
String
getValue()
Get the value of this Header.
void
setName(String name)
Set the name of this Header.
void
setValue(String value)
Set the value of this Header.

Method Details

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.