tvbrowserdataservice.file
Class ChannelList
java.lang.Object
tvbrowserdataservice.file.ChannelList
public class ChannelList
- extends Object
- Author:
- Til Schneider, www.murfman.de
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FILE_NAME
public static final String FILE_NAME
- See Also:
- Constant Field Values
ChannelList
public ChannelList(String groupName)
ChannelList
public ChannelList(ChannelGroup group)
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, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)