Module tvbrowser

Class ChannelUtil


  • public class ChannelUtil
    extends java.lang.Object
    Utils for Channel Handling
    • Constructor Summary

      Constructors 
      Constructor Description
      ChannelUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getNameForCategories​(int category)
      Returns a Text representation for a Channel Category
      static java.lang.String getProviderName​(Channel ch)
      Get the Providername of a Channel
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ChannelUtil

        public ChannelUtil()
    • Method Detail

      • getNameForCategories

        public static java.lang.String getNameForCategories​(int category)
        Returns a Text representation for a Channel Category
        Parameters:
        category - Category to convert
        Returns:
        Text for Category
      • getProviderName

        public static java.lang.String getProviderName​(Channel ch)
        Get the Providername of a Channel
        Parameters:
        ch - Channel
        Returns:
        Name of Provider