public class FileAndFileFilter extends Object
Constructor and Description |
---|
FileAndFileFilter(File file,
FileFilter fileFilter)
Create a new FileAndFileFilter object.
|
Modifier and Type | Method and Description |
---|---|
File |
getFile()
Returns the file.
|
FileFilter |
getFileFilter()
Returns the file filter.
|
void |
setFile(File file)
Set the file.
|
void |
setFileFilter(FileFilter fileFilter)
Set the file filter.
|
public FileAndFileFilter(File file, FileFilter fileFilter)
file
- the selected filefileFilter
- the file filterpublic File getFile()
public void setFile(File file)
file
- the file to setpublic FileFilter getFileFilter()
public void setFileFilter(FileFilter fileFilter)
fileFilter
- the fileFilter to setCopyright © 2016. All rights reserved.