public class LimitationConfiguration extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DAYLIMIT_DAILY |
static int |
DAYLIMIT_FRIDAY |
static int |
DAYLIMIT_MONDAY |
static int |
DAYLIMIT_SATURDAY |
static int |
DAYLIMIT_SUNDAY |
static int |
DAYLIMIT_THURSDAY |
static int |
DAYLIMIT_TUESDAY |
static int |
DAYLIMIT_WEDNESDAY |
static int |
DAYLIMIT_WEEKDAY |
static int |
DAYLIMIT_WEEKEND |
Constructor and Description |
---|
LimitationConfiguration() |
LimitationConfiguration(ObjectInputStream in) |
Modifier and Type | Method and Description |
---|---|
Channel[] |
getChannels() |
int |
getDayLimit() |
int |
getTimeFrom() |
int |
getTimeTo() |
boolean |
isLimitedByChannel() |
boolean |
isLimitedByTime() |
void |
setChannels(Channel[] ch) |
void |
setDayLimit(int daylimit) |
void |
setIsLimitedByChannel(boolean b) |
void |
setIsLimitedByTime(boolean b) |
void |
setTime(int from,
int to) |
void |
store(ObjectOutputStream out) |
public static final int DAYLIMIT_DAILY
public static final int DAYLIMIT_WEEKEND
public static final int DAYLIMIT_WEEKDAY
public static final int DAYLIMIT_SUNDAY
public static final int DAYLIMIT_MONDAY
public static final int DAYLIMIT_TUESDAY
public static final int DAYLIMIT_WEDNESDAY
public static final int DAYLIMIT_THURSDAY
public static final int DAYLIMIT_FRIDAY
public static final int DAYLIMIT_SATURDAY
public LimitationConfiguration(ObjectInputStream in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
public LimitationConfiguration()
public void store(ObjectOutputStream out) throws IOException
IOException
public void setTime(int from, int to)
public int getTimeFrom()
public int getTimeTo()
public void setChannels(Channel[] ch)
public Channel[] getChannels()
public boolean isLimitedByChannel()
public boolean isLimitedByTime()
public void setIsLimitedByChannel(boolean b)
public void setIsLimitedByTime(boolean b)
public void setDayLimit(int daylimit)
public int getDayLimit()
TV-Browser 2.7.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)