TV-Browser 2.7.5 API

tvbrowserdataservice.file
Class ChannelList

java.lang.Object
  extended by tvbrowserdataservice.file.ChannelList

public class ChannelList
extends Object

Author:
Til Schneider, www.murfman.de

Field Summary
static String FILE_NAME
           
 
Constructor Summary
ChannelList(ChannelGroup group)
           
ChannelList(String groupName)
           
 
Method Summary
 void addChannel(Channel channel)
           
 void addChannel(Channel channel, String iconUrl)
           
 Channel[] createChannelArray()
           
 Channel getChannelAt(int index)
           
 int getChannelCount()
           
 void readFromFile(File file, TvDataService dataService)
           
 void readFromStream(InputStream stream, TvDataService dataService)
           
 void readFromStream(InputStream stream, TvDataService dataService, boolean compressed)
           
 void writeToFile(File file)
           
 void writeToStream(OutputStream stream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILE_NAME

public static final String FILE_NAME
See Also:
Constant Field Values
Constructor Detail

ChannelList

public ChannelList(String groupName)

ChannelList

public ChannelList(ChannelGroup group)
Method Detail

addChannel

public void addChannel(Channel channel)

addChannel

public void addChannel(Channel channel,
                       String iconUrl)

getChannelCount

public int getChannelCount()

getChannelAt

public Channel getChannelAt(int index)

createChannelArray

public Channel[] createChannelArray()

readFromStream

public void readFromStream(InputStream stream,
                           TvDataService dataService)
                    throws IOException,
                           FileFormatException
Throws:
IOException
FileFormatException

readFromStream

public void readFromStream(InputStream stream,
                           TvDataService dataService,
                           boolean compressed)
                    throws IOException,
                           FileFormatException
Throws:
IOException
FileFormatException

readFromFile

public void readFromFile(File file,
                         TvDataService dataService)
                  throws IOException,
                         FileFormatException
Throws:
IOException
FileFormatException

writeToStream

public void writeToStream(OutputStream stream)
                   throws IOException,
                          FileFormatException
Throws:
IOException
FileFormatException

writeToFile

public void writeToFile(File file)
                 throws IOException,
                        FileFormatException
Throws:
IOException
FileFormatException

TV-Browser 2.7.5 API

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