protected static final class

InternetHeaders.InternetHeader

extends Header
java.lang.Object
   ↳ com.google.code.javax.mail.Header
     ↳ com.google.code.javax.mail.internet.InternetHeaders.InternetHeader

Class Overview

An individual internet header. This class is only used by subclasses of InternetHeaders.

An InternetHeader object with a null value is used as a placeholder for headers of that name, to preserve the order of headers. A placeholder InternetHeader object with a name of ":" marks the location in the list of headers where new headers are added by default.

Summary

Fields
String line
[Expand]
Inherited Fields
From class com.google.code.javax.mail.Header
Public Constructors
InternetHeaders.InternetHeader(String l)
Constructor that takes a line and splits out the header name.
InternetHeaders.InternetHeader(String n, String v)
Constructor that takes a header name and value.
Public Methods
String getValue()
Return the "value" part of the header line.
[Expand]
Inherited Methods
From class com.google.code.javax.mail.Header
From class java.lang.Object

Fields

String line

Public Constructors

public InternetHeaders.InternetHeader (String l)

Constructor that takes a line and splits out the header name.

Parameters
l

public InternetHeaders.InternetHeader (String n, String v)

Constructor that takes a header name and value.

Parameters
n
v

Public Methods

public String getValue ()

Return the "value" part of the header line.

Returns
  • value of the header