01: /**
02: * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
03: * Unpublished - rights reserved under the Copyright Laws of the United States.
04: * Copyright © 2003 Sun Microsystems, Inc. All rights reserved.
05: * Copyright © 2005 BEA Systems, Inc. All rights reserved.
06: *
07: * Use is subject to license terms.
08: *
09: * This distribution may include materials developed by third parties.
10: *
11: * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12: *
13: * Module Name : JSIP Specification
14: * File Name : ContentLanguageHeader.java
15: * Author : Phelim O'Doherty
16: *
17: * HISTORY
18: * Version Date Author Comments
19: * 1.1 08/10/2002 Phelim O'Doherty Initial version
20: *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
21: */package javax.sip.header;
22:
23: import java.util.Locale;
24:
25: /**
26: * The Content-Language header field is used to indicate the language of the
27: * message body.
28: * <p>
29: * For Example:<br>
30: * <code>Content-Language: fr</code>
31: *
32: * @see ContentDispositionHeader
33: * @see ContentLengthHeader
34: * @see ContentEncodingHeader
35: * @see ContentTypeHeader
36: *
37: * @author BEA Systems, NIST
38: * @version 1.2
39: *
40: */
41: public interface ContentLanguageHeader extends Header {
42:
43: /**
44: * Gets the language value of the ContentLanguageHeader.
45: *
46: * @return the Locale value of this ContentLanguageHeader
47: */
48: public Locale getContentLanguage();
49:
50: /**
51: * Sets the language parameter of this ContentLanguageHeader.
52: *
53: * @param language - the new Locale value of the language of
54: * ContentLanguageHeader
55: */
56: public void setContentLanguage(Locale language);
57:
58: /**
59: * Name of ContentLanguageHeader
60: */
61: public final static String NAME = "Content-Language";
62:
63: }
|