net.sourceforge.pavlov.randommedia
Class SequencedMediaDirectory

java.lang.Object
  extended by net.sourceforge.pavlov.randommedia.AbstractMediaDirectory
      extended by net.sourceforge.pavlov.randommedia.SequencedMediaDirectory

public class SequencedMediaDirectory
extends AbstractMediaDirectory

A filesystem directory full of media items which can be accessed in sequence.


Constructor Summary
SequencedMediaDirectory(File f, ZipCapableFileFilter filt)
          Creates and initializes a SequencedMediaDirectory object with the given file and fileFilter.
 
Method Summary
 URL getCurrentURL()
          Describe getCurrentURL method here.
 int getCursorNumber()
          Describe getCursorNumber method here.
 boolean playedOnce()
          Describe playedOnce method here.
 void refresh()
          Describe refresh method here.
 
Methods inherited from class net.sourceforge.pavlov.randommedia.AbstractMediaDirectory
acceptEntry, acceptFile, addSubdirectory, addURL, clearURLs, getAbsoluteDirectoryPath, getDirectory, getDirectoryString, getName, getSize, getSubdirectories, getURLIndex, getURLVector, isEnabled, listFiles, setDirectory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SequencedMediaDirectory

public SequencedMediaDirectory(File f,
                               ZipCapableFileFilter filt)
Creates and initializes a SequencedMediaDirectory object with the given file and fileFilter.

Parameters:
f - a File value
filt - a ZipCapableFileFilter value
Method Detail

playedOnce

public boolean playedOnce()
Describe playedOnce method here.

Returns:
a boolean value

getCurrentURL

public URL getCurrentURL()
Describe getCurrentURL method here.

Returns:
an URL value

getCursorNumber

public int getCursorNumber()
Describe getCursorNumber method here.

Returns:
an int value

refresh

public void refresh()
Describe refresh method here.