com.melloware.jukes.file.filter
Class PlaylistFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by com.melloware.jukes.file.filter.PlaylistFilter

public final class PlaylistFilter
extends javax.swing.filechooser.FileFilter

Filters for playlist files in JFileChooser. Such as .m3u files.

Copyright (c) 1999-2007 Melloware, Inc.

Version:
4.0
Author:
Emil A. Lefkof III

Field Summary
static java.lang.String[] EXTENSIONS
           
static java.lang.String M3U
           
static java.lang.String XSPF
           
 
Constructor Summary
PlaylistFilter()
          Default Constuctor
 
Method Summary
 boolean accept(java.io.File aFile)
          Accept all music files such as .m3u.
 java.lang.String getDescription()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

M3U

public static final java.lang.String M3U
See Also:
Constant Field Values

XSPF

public static final java.lang.String XSPF
See Also:
Constant Field Values

EXTENSIONS

public static final java.lang.String[] EXTENSIONS
Constructor Detail

PlaylistFilter

public PlaylistFilter()
Default Constuctor

Method Detail

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in class javax.swing.filechooser.FileFilter

accept

public boolean accept(java.io.File aFile)
Accept all music files such as .m3u.

Specified by:
accept in class javax.swing.filechooser.FileFilter
See Also:
FileFilter.accept(java.io.File)


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