NIST-SIP: The Reference Implementation for JAIN-SIP 1.2

javax.sip.header
Interface ContentLanguageHeader

All Superinterfaces:
Cloneable, Header, Serializable
All Known Implementing Classes:
ContentLanguage

public interface ContentLanguageHeader
extends Header

The Content-Language header field is used to indicate the language of the message body.

For Example:
Content-Language: fr

Version:
1.2
Author:
BEA Systems, NIST
See Also:
ContentDispositionHeader, ContentLengthHeader, ContentEncodingHeader, ContentTypeHeader

Field Summary
static String NAME
          Name of ContentLanguageHeader
 
Method Summary
 Locale getContentLanguage()
          Gets the language value of the ContentLanguageHeader.
 void setContentLanguage(Locale language)
          Sets the language parameter of this ContentLanguageHeader.
 
Methods inherited from interface javax.sip.header.Header
clone, equals, getName, hashCode, toString
 

Field Detail

NAME

static final String NAME
Name of ContentLanguageHeader

See Also:
Constant Field Values
Method Detail

getContentLanguage

Locale getContentLanguage()
Gets the language value of the ContentLanguageHeader.

Returns:
the Locale value of this ContentLanguageHeader

setContentLanguage

void setContentLanguage(Locale language)
Sets the language parameter of this ContentLanguageHeader.

Parameters:
language - - the new Locale value of the language of ContentLanguageHeader

NIST-SIP: The Reference Implementation for JAIN-SIP 1.2

A product of the NIST/ITL Advanced Networking Technologies Division.
See conditions of use.
Submit a bug report or feature request.