org.apache.batik.apps.svgbrowser

Class JSVGViewerFrame.ImageFileFilter

protected static class JSVGViewerFrame.ImageFileFilter extends FileFilter

A FileFilter used when exporting the SVG document as an image.
Field Summary
protected Stringextension
The extension of the image filename.
Constructor Summary
ImageFileFilter(String extension)
Method Summary
booleanaccept(File f)
Returns true if f is a file with the correct extension, false otherwise.
StringgetDescription()
Returns the file description

Field Detail

extension

protected String extension
The extension of the image filename.

Constructor Detail

ImageFileFilter

public ImageFileFilter(String extension)

Method Detail

accept

public boolean accept(File f)
Returns true if f is a file with the correct extension, false otherwise.

getDescription

public String getDescription()
Returns the file description
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.