org.mobicents.sdp
Class Format

java.lang.Object
  extended by org.mobicents.sdp.Format
All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
AudioFormat, RTPFormatParser, VideoFormat

public class Format
extends Object
implements Cloneable, Serializable

Author:
amit bhayani
See Also:
Serialized Form

Field Summary
static Format ANY
           
protected  String encoding
           
static int FALSE
           
static int FORMAT_HASHMAP_DEFAULT_INITIAL_CAPACITY
           
static float FORMAT_HASHMAP_DEFAULT_LOAD_FACTOR
           
static int NOT_SPECIFIED
           
static int TRUE
           
 
Constructor Summary
Format(String encoding)
           
 
Method Summary
 boolean equals(Object format)
           
 String getEncoding()
           
 int hashCode()
           
 boolean isSameEncoding(Format other)
           
 boolean isSameEncoding(String encoding)
           
 boolean matches(Format format)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NOT_SPECIFIED

public static final int NOT_SPECIFIED
See Also:
Constant Field Values

TRUE

public static final int TRUE
See Also:
Constant Field Values

FALSE

public static final int FALSE
See Also:
Constant Field Values

encoding

protected String encoding

ANY

public static final Format ANY

FORMAT_HASHMAP_DEFAULT_INITIAL_CAPACITY

public static final int FORMAT_HASHMAP_DEFAULT_INITIAL_CAPACITY
See Also:
Constant Field Values

FORMAT_HASHMAP_DEFAULT_LOAD_FACTOR

public static final float FORMAT_HASHMAP_DEFAULT_LOAD_FACTOR
See Also:
Constant Field Values
Constructor Detail

Format

public Format(String encoding)
Method Detail

getEncoding

public String getEncoding()

equals

public boolean equals(Object format)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

matches

public boolean matches(Format format)

isSameEncoding

public boolean isSameEncoding(Format other)

isSameEncoding

public boolean isSameEncoding(String encoding)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013 TeleStax, Inc.. All Rights Reserved.