public static class DefaultFileFilter.EditorFileFilter extends FileFilter
ImageIO.getReaderFormatNames()| Modifier and Type | Field and Description |
|---|---|
protected String |
desc
Description of the File format
|
| Constructor and Description |
|---|
EditorFileFilter(String description)
Constructs a new editor file filter using the specified description.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(File file)
Returns true if the file is a directory or has a .xml or .xml.gz
extension.
|
String |
getDescription()
Returns the description.
|
protected String desc
public EditorFileFilter(String description)
description - The description to use for the filter.public boolean accept(File file)
accept in class FileFilterpublic String getDescription()
getDescription in class FileFilterCopyright © 2015–2021 Fiji. All rights reserved.