Top Description Fields Constructors Methods
org.apache.tools.ant.taskdefs.email

public Class Header

extends Object
Class Inheritance

Class representing a generic key-value header. TODO: This should be moved out of the email package
Since
Ant 1.7

Field Summary

Modifier and TypeField and Description
private String
private String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

name as String.
getName
()

Get the name of this Header.

public String

Returns:

value as String.
getValue
()

Get the value of this Header.

public void
setName(String
the name to set.
name
)

Set the name of this Header.

public void
setValue(String
the value to set.
value
)

Set the value of this Header.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

nameback to summary
private String name
valueback to summary
private String value

Constructor Detail

Headerback to summary
public Header()

Method Detail

getNameback to summary
public String getName()

Get the name of this Header.

Returns:String

name as String.

getValueback to summary
public String getValue()

Get the value of this Header.

Returns:String

value as String.

setNameback to summary
public void setName(String name)

Set the name of this Header.

Parameters
name:String

the name to set.

setValueback to summary
public void setValue(String value)

Set the value of this Header.

Parameters
value:String

the value to set.