com.gcapmedia.dab.epg.binary
Class VersionType

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

public class VersionType
extends NumericType


Constructor Summary
VersionType(int number)
          Create a new version type used in <programme>, <programmeEvent>, <serviceinformation>, <ensemble>, <service>, <programmeGroups>, <programmeGroup> and <schedule>.
 
Method Summary
static VersionType fromBytes(byte[] bytes)
          Parse a type from its byte array representation
 
Methods inherited from class com.gcapmedia.dab.epg.binary.NumericType
equals, fromBytes, getBytes, getLength, getNumber, getSize, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VersionType

public VersionType(int number)
Create a new version type used in <programme>, <programmeEvent>, <serviceinformation>, <ensemble>, <service>, <programmeGroups>, <programmeGroup> and <schedule>. Encoded as a 16bit unsigned integer.

Parameters:
number - Version number to encode
Method Detail

fromBytes

public static VersionType fromBytes(byte[] bytes)
Parse a type from its byte array representation

Parameters:
bytes -
Returns:


Copyright © 2007. All Rights Reserved.