ch.claudio.permilena.data
Class Playlist

java.lang.Object
  extended by ch.claudio.permilena.data.Playlist

public class Playlist
extends java.lang.Object

Version:
$Id: Playlist.java 148 2006-09-14 20:52:32Z claudio $
Author:
Claudio Nieder

Copyright (C) 2006 Claudio Nieder <private@claudio.ch>, CH-8610 Uster

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA


Constructor Summary
Playlist()
          Default constructor reads in the play list.
 
Method Summary
 void buffer(int i)
          Buffer a piece
 java.lang.String getTitle(int i)
          Return the name of a piece.
 int getTitleCount()
           
static void main(java.lang.String[] args)
          Print license.
 void reread()
          Read the playlist again.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Playlist

public Playlist()
Default constructor reads in the play list.

Method Detail

reread

public void reread()
Read the playlist again.


buffer

public void buffer(int i)
Buffer a piece

Parameters:
i - index

main

public static void main(java.lang.String[] args)
Print license.

Parameters:
args - ignored

getTitleCount

public int getTitleCount()
Returns:
number of titles in this playlist

getTitle

public java.lang.String getTitle(int i)
Return the name of a piece.

Parameters:
i - index
Returns:
name