Package org.compiere.util
Class ExtensionFileFilter
java.lang.Object
javax.swing.filechooser.FileFilter
org.compiere.util.ExtensionFileFilter
- All Implemented Interfaces:
Serializable
@Deprecated(forRemoval=true,
since="11")
public class ExtensionFileFilter
extends FileFilter
implements Serializable
Deprecated, for removal: This API element is subject to removal in a future version.
Extension File Chooser
- Version:
- $Id: ExtensionFileFilter.java,v 1.3 2006/07/30 00:51:05 jjanke Exp $
- Author:
- Jorg Janke
- See Also:
-
Constructor Summary
ConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.ConstructorExtensionFileFilter
(String extension, String description) Deprecated, for removal: This API element is subject to removal in a future version.Constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated, for removal: This API element is subject to removal in a future version.Accept FileDeprecated, for removal: This API element is subject to removal in a future version.DescriptionDeprecated, for removal: This API element is subject to removal in a future version.Get Extensionstatic File
getFile
(File file, FileFilter filter) Deprecated, for removal: This API element is subject to removal in a future version.Verify file with filterstatic String
getFileName
(File file, FileFilter filter) Deprecated, for removal: This API element is subject to removal in a future version.Verify file name with filervoid
setDescription
(String newDescription) Deprecated, for removal: This API element is subject to removal in a future version.Set Descriptionvoid
setExtension
(String newExtension) Deprecated, for removal: This API element is subject to removal in a future version.Extension
-
Constructor Details
-
ExtensionFileFilter
public ExtensionFileFilter()Deprecated, for removal: This API element is subject to removal in a future version.Constructor -
ExtensionFileFilter
Deprecated, for removal: This API element is subject to removal in a future version.Constructor- Parameters:
extension
- extensiondescription
- description
-
-
Method Details
-
getDescription
Deprecated, for removal: This API element is subject to removal in a future version.Description- Specified by:
getDescription
in classFileFilter
- Returns:
- description
-
setDescription
Deprecated, for removal: This API element is subject to removal in a future version.Set Description- Parameters:
newDescription
- description
-
setExtension
Deprecated, for removal: This API element is subject to removal in a future version.Extension- Parameters:
newExtension
- ext
-
getExtension
Deprecated, for removal: This API element is subject to removal in a future version.Get Extension- Returns:
- extension
-
accept
Deprecated, for removal: This API element is subject to removal in a future version.Accept File- Specified by:
accept
in classFileFilter
- Parameters:
file
- file to be tested- Returns:
- true if OK
-
getFileName
Deprecated, for removal: This API element is subject to removal in a future version.Verify file name with filer- Parameters:
file
- filefilter
- filter- Returns:
- file name
-
getFile
Deprecated, for removal: This API element is subject to removal in a future version.Verify file with filter- Parameters:
file
- filefilter
- filter- Returns:
- file
-