samyedit
Class Channel

java.lang.Object
  extended by samyedit.Channel
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
AirCableChannel, CloneChannel, SatChannel

public class Channel
extends java.lang.Object
implements java.lang.Cloneable

new Channel class,

made it cloneable if we need to copy a channel


Field Summary
 int bouqet
           
 byte enc
           
 byte fav
           
 byte fav79
           
static byte FLAG_ACTIVE
           
static byte FLAG_FAV_1
           
static byte FLAG_FAV_2
           
static byte FLAG_FAV_3
           
static byte FLAG_FAV_4
           
static byte FLAG_LOCK
           
static byte FLAG_SCRAMBLED
           
 byte lock
           
 int mpid
           
 java.lang.String name
           
 int num
           
 int onid
           
 int sid
           
 byte status
           
 byte stype
           
static byte STYPE_DATA
           
static byte STYPE_HD
           
static byte STYPE_RADIO
           
static byte STYPE_TV
           
 int tsid
           
static byte TYPE_AIR
           
static byte TYPE_CABLE
           
static byte TYPE_CLONE
           
static byte TYPE_SAT
           
 int vpid
           
 byte vtype
           
static byte VTYPE_MPEG2
           
static byte VTYPE_MPEG4
           
 
Constructor Summary
Channel()
           
 
Method Summary
 Channel clone()
          clone function, if a channel needs to be copied just invoke clone() from Object class
 java.lang.String toString()
          prints the content of the channel into a string
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE_CABLE

public static final byte TYPE_CABLE
See Also:
Constant Field Values

TYPE_AIR

public static final byte TYPE_AIR
See Also:
Constant Field Values

TYPE_SAT

public static final byte TYPE_SAT
See Also:
Constant Field Values

TYPE_CLONE

public static final byte TYPE_CLONE
See Also:
Constant Field Values

STYPE_TV

public static final byte STYPE_TV
See Also:
Constant Field Values

STYPE_RADIO

public static final byte STYPE_RADIO
See Also:
Constant Field Values

STYPE_DATA

public static final byte STYPE_DATA
See Also:
Constant Field Values

STYPE_HD

public static final byte STYPE_HD
See Also:
Constant Field Values

VTYPE_MPEG2

public static final byte VTYPE_MPEG2
See Also:
Constant Field Values

VTYPE_MPEG4

public static final byte VTYPE_MPEG4
See Also:
Constant Field Values

FLAG_ACTIVE

public static final byte FLAG_ACTIVE
See Also:
Constant Field Values

FLAG_SCRAMBLED

public static final byte FLAG_SCRAMBLED
See Also:
Constant Field Values

FLAG_LOCK

public static final byte FLAG_LOCK
See Also:
Constant Field Values

FLAG_FAV_1

public static final byte FLAG_FAV_1
See Also:
Constant Field Values

FLAG_FAV_2

public static final byte FLAG_FAV_2
See Also:
Constant Field Values

FLAG_FAV_3

public static final byte FLAG_FAV_3
See Also:
Constant Field Values

FLAG_FAV_4

public static final byte FLAG_FAV_4
See Also:
Constant Field Values

name

public java.lang.String name

num

public int num

sid

public int sid

vpid

public int vpid

mpid

public int mpid

bouqet

public int bouqet

onid

public int onid

tsid

public int tsid

stype

public byte stype

vtype

public byte vtype

status

public byte status

enc

public byte enc

fav

public byte fav

fav79

public byte fav79

lock

public byte lock
Constructor Detail

Channel

public Channel()
Method Detail

toString

public java.lang.String toString()
prints the content of the channel into a string

Overrides:
toString in class java.lang.Object

clone

public Channel clone()
clone function, if a channel needs to be copied just invoke clone() from Object class

Overrides:
clone in class java.lang.Object