com.gcapmedia.dab.epg.binary
Class GenreType

java.lang.Object
  extended by com.gcapmedia.dab.epg.binary.GenreType
All Implemented Interfaces:
Encodable

public class GenreType
extends java.lang.Object
implements Encodable


Constructor Summary
GenreType(Genre genre)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
static GenreType fromBytes(byte[] bytes)
           
 byte[] getBytes()
           
 Genre getGenre()
           
 int getLength()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GenreType

public GenreType(Genre genre)
Method Detail

getGenre

public Genre getGenre()

getBytes

public byte[] getBytes()
Specified by:
getBytes in interface Encodable
Returns:
Returns the data as bytes
See Also:
com.gcapmedia.dab.epg.binary.AttributeValue#getBytes()

getLength

public int getLength()
Specified by:
getLength in interface Encodable
Returns:
Returns the length of this data
See Also:
com.gcapmedia.dab.epg.binary.AttributeValue#getLength()

fromBytes

public static GenreType fromBytes(byte[] bytes)

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object
See Also:
Object.equals(java.lang.Object)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()


Copyright © 2007. All Rights Reserved.