final class MergeID3AndMP3Files.MP3FileFilter
extends javax.swing.filechooser.FileFilter
implements java.io.FileFilter
Modifier and Type | Field and Description |
---|---|
private boolean |
allowDirectories
allows Directories
|
Modifier | Constructor and Description |
---|---|
|
MergeID3AndMP3Files.MP3FileFilter()
Create a default MP3FileFilter.
|
private |
MergeID3AndMP3Files.MP3FileFilter(boolean allowDirectories)
Create an MP3FileFilter.
|
Modifier and Type | Method and Description |
---|---|
boolean |
accept(java.io.File file)
Determines whether or not the file is an mp3 file.
|
java.lang.String |
getDescription()
Returns the Name of the Filter for use in the Chooser Dialog
|
public MergeID3AndMP3Files.MP3FileFilter()
private MergeID3AndMP3Files.MP3FileFilter(boolean allowDirectories)
allowDirectories
- whether or not to accept directoriespublic final boolean accept(java.io.File file)
accept
in interface java.io.FileFilter
accept
in class javax.swing.filechooser.FileFilter
file
- the file to testpublic final java.lang.String getDescription()
getDescription
in class javax.swing.filechooser.FileFilter
Copyright © 2005-2013 java.net. All Rights Reserved.