com.melloware.jukes.gui.view.tasks
Class LoadPlaylistTask

java.lang.Object
  extended by com.melloware.jukes.gui.view.tasks.LongTask
      extended by com.melloware.jukes.gui.view.tasks.LoadPlaylistTask

public final class LoadPlaylistTask
extends LongTask

In a thread attempts to load the playlist one song at a time and notify user of the progress.

Copyright (c) 1999-2007 Melloware, Inc.

Version:
4.0
Author:
Emil A. Lefkof III

Field Summary
 
Fields inherited from class com.melloware.jukes.gui.view.tasks.LongTask
canceled, current, done, lengthOfTask, statMessage
 
Constructor Summary
LoadPlaylistTask(java.io.File aFile, Playlist aPlaylist)
          Constructor that needs a file to load.
 
Method Summary
 void go()
          Called to start the task.
 
Methods inherited from class com.melloware.jukes.gui.view.tasks.LongTask
getCurrent, getLengthOfTask, getMessage, isCancelled, isDone, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoadPlaylistTask

public LoadPlaylistTask(java.io.File aFile,
                        Playlist aPlaylist)
                 throws java.lang.Exception
Constructor that needs a file to load.

Parameters:
aFile - the file to load
Throws:
java.lang.Exception - if any error occurs
Method Detail

go

public void go()
Called to start the task.

Specified by:
go in class LongTask


Copyright © 1999-2009 Melloware Inc. All Rights Reserved.