net.sourceforge.jsdp
Interface Field

All Superinterfaces:
Cloneable, Serializable
All Known Implementing Classes:
Attribute, Bandwith, Connection, Email, Information, Key, Media, Origin, Phone, RepeatTime, SessionName, Time, TimeZone, Uri, Version

public interface Field
extends Cloneable, Serializable

A field is a line of text in the SDP message. Each field contain information specific some aspect of the session. There are several field types: each field type is identified by a unique character and has a fixed format for its content.

Since:
0.1.0
Version:
1.0
Author:
Claudio Di Vita

Field Summary
static char ATTRIBUTE_FIELD
          The attribute field char type character: a
static char BANDWITH_FIELD
          The bandwith field char type character: b
static char CONNECTION_FIELD
          The connection field char type character: c
static char EMAIL_FIELD
          The email field char type character: e
static String END_OF_FIELD
          The field terminator characters sequence: \r\n
static char INFORMATION_FIELD
          The information field char type character: i
static char KEY_FIELD
          The encryption key field char type character: k
static char MEDIA_FIELD
          The media field char type character: m
static char ORIGIN_FIELD
          The origin field char type character: o
static char PHONE_FIELD
          The phone field char type character: p
static char REPEAT_TIME_FIELD
          The repeat time field char type character: r
static char SESSION_NAME_FIELD
          The session name field char type character: s
static char TIME_FIELD
          The time field char type character: t
static char TIMEZONE_FIELD
          The timezone field char type character: z
static char URI_FIELD
          The uri field char type character: u
static char VERSION_FIELD
          The information field char type character: v
 
Method Summary
 Object clone()
          Returns a clone of this field.
 char getType()
          Returns the type character for the field.
 String toString()
          Returns a string representation of the field.
 

Field Detail

END_OF_FIELD

static final String END_OF_FIELD
The field terminator characters sequence: \r\n

See Also:
Constant Field Values

ATTRIBUTE_FIELD

static final char ATTRIBUTE_FIELD
The attribute field char type character: a

See Also:
Constant Field Values

BANDWITH_FIELD

static final char BANDWITH_FIELD
The bandwith field char type character: b

See Also:
Constant Field Values

CONNECTION_FIELD

static final char CONNECTION_FIELD
The connection field char type character: c

See Also:
Constant Field Values

EMAIL_FIELD

static final char EMAIL_FIELD
The email field char type character: e

See Also:
Constant Field Values

INFORMATION_FIELD

static final char INFORMATION_FIELD
The information field char type character: i

See Also:
Constant Field Values

KEY_FIELD

static final char KEY_FIELD
The encryption key field char type character: k

See Also:
Constant Field Values

MEDIA_FIELD

static final char MEDIA_FIELD
The media field char type character: m

See Also:
Constant Field Values

ORIGIN_FIELD

static final char ORIGIN_FIELD
The origin field char type character: o

See Also:
Constant Field Values

PHONE_FIELD

static final char PHONE_FIELD
The phone field char type character: p

See Also:
Constant Field Values

REPEAT_TIME_FIELD

static final char REPEAT_TIME_FIELD
The repeat time field char type character: r

See Also:
Constant Field Values

SESSION_NAME_FIELD

static final char SESSION_NAME_FIELD
The session name field char type character: s

See Also:
Constant Field Values

TIME_FIELD

static final char TIME_FIELD
The time field char type character: t

See Also:
Constant Field Values

TIMEZONE_FIELD

static final char TIMEZONE_FIELD
The timezone field char type character: z

See Also:
Constant Field Values

URI_FIELD

static final char URI_FIELD
The uri field char type character: u

See Also:
Constant Field Values

VERSION_FIELD

static final char VERSION_FIELD
The information field char type character: v

See Also:
Constant Field Values
Method Detail

clone

Object clone()
Returns a clone of this field.

Returns:
a clone of this field

getType

char getType()
Returns the type character for the field.

Returns:
the field type character

toString

String toString()
Returns a string representation of the field. The representation has the form: <type>=<value>.

Overrides:
toString in class Object
Returns:
the string representation of the field


Copyright © 2004-2008. All Rights Reserved.