Package com.vaadin.v7.data.util
Class FilesystemContainer.FileExtensionFilter
- java.lang.Object
-
- com.vaadin.v7.data.util.FilesystemContainer.FileExtensionFilter
-
- All Implemented Interfaces:
FilenameFilter
,Serializable
- Enclosing class:
- FilesystemContainer
@Deprecated public class FilesystemContainer.FileExtensionFilter extends Object implements FilenameFilter, Serializable
Deprecated.Generic file extension filter for displaying only files having certain extension.- Since:
- 3.0
- Author:
- Vaadin Ltd.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FileExtensionFilter(String fileExtension)
Deprecated.Constructs a new FileExtensionFilter using given extension.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
accept(File dir, String name)
Deprecated.Allows only files with the extension and directories.
-
-
-
Constructor Detail
-
FileExtensionFilter
public FileExtensionFilter(String fileExtension)
Deprecated.Constructs a new FileExtensionFilter using given extension.- Parameters:
fileExtension
- the File extension without the separator (dot).
-
-
Method Detail
-
accept
public boolean accept(File dir, String name)
Deprecated.Allows only files with the extension and directories.- Specified by:
accept
in interfaceFilenameFilter
- See Also:
FilenameFilter.accept(File, String)
-
-