/*
 * Created on Apr 13, 2003
 */
package CH.ifa.draw.io;

import de.renew.io.api.FileApi;
import de.renew.ioontology.FileType;

/**
 * Filters PNG files
 * @author Lawrence Cabac
 * @deprecated This class is not to be used externally.
 * Please use {@link FileApi#createExtensionFileFilter(FileType)} with the file type {@link FileType#PNG} instead.
 */
@Deprecated(since = "5.0", forRemoval = true)
public class PNGFileFilter extends SimpleFileFilter {
    /**
     * Constructs and sets up PNGFileFilter to accept png files.
     * @deprecated This constructor is not to be used externally.
     * Please use {@link FileApi#createExtensionFileFilter(FileType)} with the file type {@link FileType#PNG} instead.
     */
    @Deprecated(since = "5.0", forRemoval = true)
    public PNGFileFilter() {
        this.setExtension("png");
        this.setDescription("Portable Network Graphics File");
    }
}