as.clynx.util
Class FileListLoader

java.lang.Object
  extended by as.clynx.util.FileListLoader

public class FileListLoader
extends java.lang.Object

The class FileListLoader.java loads the audiofiles to an IAudioFileCollection.

Version:
cLynx v.1.2, JDK 6.0: 12.10.2007
Author:
Andreas Senfter - andreas@senfters.com

Constructor Summary
FileListLoader(CLynxConnector connection, SettingControl settings)
          Constructor for extension of SOMToolBox
 
Method Summary
 void addFilesTo(IAudioFileCollection collection)
          adds the file to the IAudioFileCollection
 void setJProgressBar(javax.swing.JProgressBar bar)
          sets the progress bar for updating the progress
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileListLoader

public FileListLoader(CLynxConnector connection,
                      SettingControl settings)
Constructor for extension of SOMToolBox

Parameters:
connection -
settings -
Method Detail

addFilesTo

public void addFilesTo(IAudioFileCollection collection)
                throws DirectoryNotFoundException,
                       EmptyDirectoryException,
                       javax.sound.sampled.UnsupportedAudioFileException,
                       java.io.IOException,
                       ThreadExceededException
adds the file to the IAudioFileCollection

Parameters:
collection -
Throws:
DirectoryNotFoundException
EmptyDirectoryException
javax.sound.sampled.UnsupportedAudioFileException
java.io.IOException
ThreadExceededException

setJProgressBar

public void setJProgressBar(javax.swing.JProgressBar bar)
sets the progress bar for updating the progress

Parameters:
bar -