nu.zoom.swing.desktop.component.filechooser.impl
Class FileChooserFactoryImpl
java.lang.Object
nu.zoom.swing.desktop.component.filechooser.impl.FileChooserFactoryImpl
- All Implemented Interfaces:
- FileChooserFactory
public class FileChooserFactoryImpl
- extends Object
- implements FileChooserFactory
- Version:
- $Revision: $
- Author:
- $Author: $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileChooserFactoryImpl
public FileChooserFactoryImpl(Workbench workbench,
Preferences preferences)
getFileChooser
public FileChooser getFileChooser(String preferencesKey,
String matchDescription,
List<String> matchPatterns)
- Description copied from interface:
FileChooserFactory
- Get a file chooser.
- Specified by:
getFileChooser in interface FileChooserFactory
- Parameters:
preferencesKey - The key used by the file chooser to store the recently used
directory and files. May not be null or empty, may not contain /,
max 80 characters.matchDescription - A displayble description of the filename patterns - e.g.
'Image files'. May be null.matchPatterns - A list of regular expressions that is used to filter the
selectable files. May be null or empty, which means that no
files should be excluded.
- Returns:
- A file chooser with the specified characteristics.
getFileChooser
public FileChooser getFileChooser(String preferencesKey)
- Description copied from interface:
FileChooserFactory
- Same as calling getFileChooser(preferencesKey, null, null)
- Specified by:
getFileChooser in interface FileChooserFactory
- Returns:
Copyright © 2011. All Rights Reserved.