FileDocCategorySizeDatePackage
SDPFormat.javaAPI DocphoneME MR2 API (J2ME)2220Wed May 02 18:00:42 BST 2007gov.nist.javax.sdp.fields

SDPFormat

public class SDPFormat extends SDPObject
Media Description SDP header
version
JAIN-SIP-1.1 This code is in the public domain.

Fields Summary
protected String
format
Format string.
Constructors Summary
public SDPFormat(String s)
Constructor with initial format string.

param
s the format string

	format = s;
    
public SDPFormat()
Deafault constructor.

Methods Summary
public java.lang.Objectclone()
Copies the current instance.

return
the copy of this object

	SDPFormat retval = new SDPFormat();
	retval.format = format;
	return retval;
    
public java.lang.Stringencode()
Returns the object contents.

return
the format string

 return format; 
public java.lang.StringgetFormat()
Gets the format string.

return
the format string

	return format; 
    
public voidsetFormat(java.lang.String fmt)
Sets the format string.

param
fmt the new format string

	format = fmt;