Class Header
- java.lang.Object
-
- org.apache.tools.ant.taskdefs.email.Header
-
public class Header extends java.lang.ObjectClass representing a generic key-value header. TODO: This should be moved out of the email package- Since:
- Ant 1.7
-
-
Constructor Summary
Constructors Constructor Description Header()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()Get the name of this Header.java.lang.StringgetValue()Get the value of this Header.voidsetName(java.lang.String name)Set the name of this Header.voidsetValue(java.lang.String value)Set the value of this Header.
-
-
-
Method Detail
-
setName
public void setName(java.lang.String name)
Set the name of this Header.- Parameters:
name- the name to set.
-
getName
public java.lang.String getName()
Get the name of this Header.- Returns:
- name as String.
-
setValue
public void setValue(java.lang.String value)
Set the value of this Header.- Parameters:
value- the value to set.
-
getValue
public java.lang.String getValue()
Get the value of this Header.- Returns:
- value as String.
-
-