com.webhiker.dreambox.api.bouquet
Class Bouquet

java.lang.Object
  extended by com.webhiker.dreambox.api.bouquet.Bouquet

public class Bouquet
extends java.lang.Object

The Class Bouquet lists the user configured bouquet information for the Dreambox.


Constructor Summary
Bouquet(java.lang.String name, java.lang.String bref)
          Instantiates a new bouquet.
 
Method Summary
 java.lang.String getBref()
          Gets the bref.
 java.util.List<Channel> getChannels()
          Gets the channels.
 java.lang.String getName()
          Gets the name.
static java.lang.String removeQuotes(java.lang.String s)
          Removes the quotes.
static java.util.List<Bouquet> setBouquets(java.io.InputStream is)
          Sets the bouquets.
 void setBref(java.lang.String bref)
          Sets the bref.
 void setChannels(java.util.List<Channel> c)
          Sets the channels.
 void setName(java.lang.String name)
          Sets the name.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Bouquet

public Bouquet(java.lang.String name,
               java.lang.String bref)
Instantiates a new bouquet.

Parameters:
name - the name
bref - the bref
Method Detail

removeQuotes

public static java.lang.String removeQuotes(java.lang.String s)
Removes the quotes.

Parameters:
s - the s
Returns:
the string

getChannels

public java.util.List<Channel> getChannels()
Gets the channels.

Returns:
the channels

setChannels

public void setChannels(java.util.List<Channel> c)
Sets the channels.

Parameters:
c - the new channels

setBouquets

public static java.util.List<Bouquet> setBouquets(java.io.InputStream is)
                                           throws java.io.IOException
Sets the bouquets.

Parameters:
is - the is
Returns:
the list< bouquet>
Throws:
java.io.IOException - Signals that an I/O exception has occurred.

getName

public java.lang.String getName()
Gets the name.

Returns:
the name

setName

public void setName(java.lang.String name)
Sets the name.

Parameters:
name - the new name

getBref

public java.lang.String getBref()
Gets the bref.

Returns:
the bref

setBref

public void setBref(java.lang.String bref)
Sets the bref.

Parameters:
bref - the new bref

toString

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