com.melloware.jukes.file.filter
Class MusicFilter

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

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

Filters for music file in JFileChooser. Such as .mp3, .ogg, .speex, .ape and .flac files.

Copyright (c) 1999-2007 Melloware, Inc.

Version:
4.0
Author:
Emil A. Lefkof III

Field Summary
static java.lang.String APE
           
static java.lang.String[] ENTAGGED_EXTENSIONS
           
static java.lang.String[] EXTENSIONS
           
static java.lang.String FLAC
           
static java.lang.String MP3
           
static java.lang.String[] MP3_EXTENSIONS
           
static java.lang.String OGG
           
static java.lang.String SPEEX
           
 
Constructor Summary
MusicFilter()
          Default Constuctor
 
Method Summary
 boolean accept(java.io.File aFile)
          Accept all music files such as .mp3, .ogg, and .flac
 java.lang.String getDescription()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MP3

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

OGG

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

FLAC

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

SPEEX

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

APE

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

MP3_EXTENSIONS

public static final java.lang.String[] MP3_EXTENSIONS

ENTAGGED_EXTENSIONS

public static final java.lang.String[] ENTAGGED_EXTENSIONS

EXTENSIONS

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

MusicFilter

public MusicFilter()
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 .mp3, .ogg, and .flac

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


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