|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Sip.ContentType>
org.jnetpcap.protocol.voip.Sip.ContentType
public static enum Sip.ContentType
A table of SIP supported content types.
| Enum Constant Summary | |
|---|---|
OTHER
Content type other. |
|
PKCS7_MIME
Application pkcs7-mine type. |
|
PKCS7_SIGNATURE
Application pkcs7-signature. |
|
SPD
DSP content type. |
|
| Method Summary | |
|---|---|
static Sip.ContentType |
parseContentType(java.lang.String type)
Parses a string containing content type ot a enum constant. |
static Sip.ContentType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Sip.ContentType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Sip.ContentType OTHER
public static final Sip.ContentType PKCS7_MIME
public static final Sip.ContentType PKCS7_SIGNATURE
public static final Sip.ContentType SPD
| Method Detail |
|---|
public static Sip.ContentType[] values()
for (Sip.ContentType c : Sip.ContentType.values()) System.out.println(c);
public static Sip.ContentType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic static Sip.ContentType parseContentType(java.lang.String type)
type - string containing content type
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||