Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Unpublished - rights reserved under the Copyright Laws of the United States. Copyright � 2003 Sun Microsystems, Inc. All rights reserved. Copyright � 2005 BEA Systems, Inc. All rights reserved. Use is subject to license terms. This distribution may include materials developed by third parties. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Module Name : JSIP Specification File Name : Encoding.java Author : Phelim O'Doherty HISTORY Version Date Author Comments 1.1 08/10/2002 Phelim O'Doherty ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
package javax.sip.header;
This interface represents encoding methods for any header that contains an encoding value.

Author(s):
BEA Systems, NIST
Version:
1.2
See also:
AcceptEncodingHeader
ContentEncodingHeader
public interface Encoding {


    
Sets the encoding of an EncodingHeader.

Parameters:
encoding - the new string value defining the encoding.
Throws:
java.text.ParseException which signals that an error has been reached unexpectedly while parsing the encoding value.
    public void setEncoding(String encodingthrows ParseException;

    
Gets the encoding of an EncodingHeader. Returns null if no encoding is defined in an EncodingHeader.

Returns:
the string value identifing the encoding
    public String getEncoding();    
New to GrepCode? Check out our FAQ X