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

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

/**
 * Filters PDF 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#PDF} instead.
 */
@Deprecated(since = "5.0", forRemoval = true)
public class PDFFileFilter extends SimpleFileFilter {
    /**
     * Constructs and sets up PDFFileFilter to accept pdf files.
     * @deprecated This constructor is not to be used externally.
     * Please use {@link FileApi#createExtensionFileFilter(FileType)} with the file type {@link FileType#PDF} instead.
     */
    @Deprecated(since = "5.0", forRemoval = true)
    public PDFFileFilter() {
        this.setExtension("pdf");
        this.setDescription("Portable Document Format");
    }
}