javazoom.download.util
Class FolderConfig

java.lang.Object
  extended byjavazoom.download.util.Config
      extended byjavazoom.download.util.FolderConfig
All Implemented Interfaces:
java.io.Serializable

public class FolderConfig
extends Config

This class implements a Config for Folder. In addition to the set of properties and FileInfo, it adds the path to folder.

See Also:
Serialized Form

Constructor Summary
FolderConfig()
           
 
Method Summary
 java.lang.String getPath()
          Return folder's path.
 java.util.Vector listFiles(boolean enablesubfolders)
          List files.
 void setPath(java.lang.String path)
          Sets folder's path.
 
Methods inherited from class javazoom.download.util.Config
addListener, getDescription, getDownloadSource, getFiles, getId, getListeners, getMimes, getProperties, listFiles, notifyCounters, notifyListeners, removeListener, setDescription, setDownloadSource, setFiles, setId, setMimes, setProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FolderConfig

public FolderConfig()
Method Detail

getPath

public java.lang.String getPath()
Return folder's path.

Returns:
Folder's path.

setPath

public void setPath(java.lang.String path)
Sets folder's path.

Parameters:
path - Input path.

listFiles

public java.util.Vector listFiles(boolean enablesubfolders)
List files.

Specified by:
listFiles in class Config
Parameters:
enablesubfolders - boolean
Returns:
Vector