TV-Browser 2.7.5 API

primarydatamanager.primarydataservice.util
Class InfoCategoryParser

java.lang.Object
  extended by primarydatamanager.primarydataservice.util.InfoCategoryParser

public class InfoCategoryParser
extends Object

This class helps guessing the category (movie, series, show) for a program using the genre

Since:
2.6

Constructor Summary
InfoCategoryParser()
          Constructor
 
Method Summary
 int getCategory(String s)
           
 boolean isArts(String s)
           
 boolean isDocumentary(String s)
           
 boolean isMagazineOrInfotainment(String s)
           
 boolean isMovie(String s)
           
 boolean isNews(String s)
           
 boolean isOthers(String s)
           
 boolean isSeries(String s)
           
 boolean isShows(String s)
           
 boolean isSports(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InfoCategoryParser

public InfoCategoryParser()
Constructor

Method Detail

isMovie

public boolean isMovie(String s)

isSeries

public boolean isSeries(String s)

isNews

public boolean isNews(String s)

isShows

public boolean isShows(String s)

isMagazineOrInfotainment

public boolean isMagazineOrInfotainment(String s)

isDocumentary

public boolean isDocumentary(String s)

isArts

public boolean isArts(String s)

isSports

public boolean isSports(String s)

isOthers

public boolean isOthers(String s)

getCategory

public int getCategory(String s)

TV-Browser 2.7.5 API

TV-Browser 2.7.5, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)