net.sourceforge.pavlov.randommedia
Class RandomMediaDirectory
java.lang.Object
net.sourceforge.pavlov.randommedia.AbstractMediaDirectory
net.sourceforge.pavlov.randommedia.RandomMediaDirectory
- Direct Known Subclasses:
- RandomMediaJarFile
public class RandomMediaDirectory
- extends AbstractMediaDirectory
A filesystem directory full of media items.
Method Summary |
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 |
RandomMediaDirectory
public RandomMediaDirectory(File f,
ZipCapableFileFilter filt)
- Creates and initializes a RandomMediaDirectory object with the
given file and fileFilter.
- Parameters:
f
- a File
valuefilt
- a ZipCapableFileFilter
value
RandomMediaDirectory
public RandomMediaDirectory(File f,
ZipCapableFileFilter filt,
boolean shouldRefresh)
- Creates and initializes a RandomMediaDirectory object with the
given file and fileFilter.
- Parameters:
f
- a File
valuefilt
- a ZipCapableFileFilter
valueshouldRefresh
- a boolean
value
refresh
public void refresh()
- Describe
refresh
method here.