public class DimapFileFilter extends SnapFileFilter
SnapFileFilter.FileSelectionMode| Constructor and Description |
|---|
DimapFileFilter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(File file)
Tests whether or not the given file is accepted by this filter.
|
boolean |
isCompoundDocument(File dir)
Checks if the given directory represents a compound document.
|
checkExtension, checkExtension, checkExtensions, equals, getDefaultExtension, getDescription, getExtensions, getFileSelectionMode, getFormatName, getSortedFileFilters, hasExtensions, hashCode, setDescription, setExtensions, setFormatNamepublic boolean accept(File file)
SnapFileFiltertrue if the given file is a directory or the path string ends with one of the registered extensions.
if no extension are defined, the method always returns trueaccept in class SnapFileFilterfile - the file to be or not be accepted.true if given file is accepted by this filterpublic boolean isCompoundDocument(File dir)
SnapFileFilterJFileChooser.
The default implementation returns false.
Clients may override.isCompoundDocument in class SnapFileFilterdir - The directory to check.true If the given directory represents a compound document.Copyright © 2014–2017 European Space Agency (ESA). All rights reserved.