Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * Version.java
  *
  * Created on January 9, 2002, 11:29 AM
  */
 
 package javax.sdp;

A Version field represents the v= fields contained within the SessionDescription. Please refer to IETF RFC 2327 for a description of SDP.

Author(s):
deruelle
Version:
1.0
public interface Version extends Field{

    
    
Returns the version number.

Returns:
int
Throws:
SdpParseException
    
    public int getVersion()
               throws SdpParseException;
    
    
Sets the version.

Parameters:
value the - new version value.
Throws:
SdpException if the value is <=0
    
    public void setVersion(int value)
                throws SdpException;
New to GrepCode? Check out our FAQ X