org.apache.james.mime4j.descriptor
Interface RFC3066ContentLanguageDescriptor

All Known Implementing Classes:
MaximalBodyDescriptor

public interface RFC3066ContentLanguageDescriptor

Describes RFC3066 content-language headers.


Method Summary
 java.util.List getContentLanguage()
          Get the content-language header values.
 MimeException getContentLanguageParseException()
          Gets any exception thrown during the parsing of getContentLanguage()
 

Method Detail

getContentLanguage

java.util.List getContentLanguage()
Get the content-language header values. Each applicable language tag will be returned in order. See RFC4646 http://tools.ietf.org/html/rfc4646.

Returns:
list of language tag Strings, or null if no header exists

getContentLanguageParseException

MimeException getContentLanguageParseException()
Gets any exception thrown during the parsing of getContentLanguage()

Returns:
ParseException when the content-language parse fails, null otherwise


Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.