org.argouml.util
Class FileFilters

java.lang.Object
  |
  +--org.argouml.util.FileFilters

public class FileFilters
extends java.lang.Object

This class handles the the various file extensions. It's not clear whether all of these are supported for input or output or a mixture of both. There is no file open>pgml/svg/xmi/log/gif and there is no known way to save only a log or an xmi out of Argo.


Field Summary
static SuffixFilter CompressedFileFilter
          This is a filter for compressed project format.
static SuffixFilter ConfigFilter
          This should read or write a config file but as yet not fully implemented.
static SuffixFilter EPSFilter
           
static SuffixFilter GIFFilter
          This writes the GIF file, known issues http://argouml.tigris.org/issues/show_bug.cgi?id=396 http://argouml.tigris.org/issues/show_bug.cgi?id=407
static SuffixFilter HistFilter
          History Filter...Argo has trouble with remembering things at times.
static SuffixFilter JavaClassFilter
          Java Class File Filter
static SuffixFilter JavaFilter
          Java Source File Filter
static SuffixFilter JavaJarFilter
          Java JAR File Filter
static SuffixFilter LogFilter
           
static SuffixFilter PGMLFilter
          This is for Precision Graphics Markup Language a very old and now mostly dead standard.
static SuffixFilter PSFilter
           
static SuffixFilter SVGFilter
          SVG is the standard set by the W3C re vector graphics The current output for SVG goes through GEF.
static SuffixFilter UncompressedFileFilter
          This is a filter for uncompressed project format.
static SuffixFilter XMIFilter
          This is a filter for xmi files.
 
Constructor Summary
FileFilters()
           
 
Method Summary
static java.lang.String getSuffix(javax.swing.filechooser.FileFilter filter)
          Returns the suffix for which a FileFilter filters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UncompressedFileFilter

public static final SuffixFilter UncompressedFileFilter
This is a filter for uncompressed project format.


CompressedFileFilter

public static final SuffixFilter CompressedFileFilter
This is a filter for compressed project format.


XMIFilter

public static final SuffixFilter XMIFilter
This is a filter for xmi files.


PGMLFilter

public static final SuffixFilter PGMLFilter
This is for Precision Graphics Markup Language a very old and now mostly dead standard. see W3C.org for more info


ConfigFilter

public static final SuffixFilter ConfigFilter
This should read or write a config file but as yet not fully implemented.


HistFilter

public static final SuffixFilter HistFilter
History Filter...Argo has trouble with remembering things at times. Maybe this filter helps. status is unknown. last reveiwed 8 months ago.


LogFilter

public static final SuffixFilter LogFilter

JavaFilter

public static final SuffixFilter JavaFilter
Java Source File Filter


JavaClassFilter

public static final SuffixFilter JavaClassFilter
Java Class File Filter


JavaJarFilter

public static final SuffixFilter JavaJarFilter
Java JAR File Filter


GIFFilter

public static final SuffixFilter GIFFilter
This writes the GIF file, known issues http://argouml.tigris.org/issues/show_bug.cgi?id=396 http://argouml.tigris.org/issues/show_bug.cgi?id=407


PSFilter

public static final SuffixFilter PSFilter

EPSFilter

public static final SuffixFilter EPSFilter

SVGFilter

public static final SuffixFilter SVGFilter
SVG is the standard set by the W3C re vector graphics The current output for SVG goes through GEF. The output is considered to be 'poor' in quality and builds multiple duplicate artifacts in the SVG output. SVG is considered very useful for documentation generation over standard raster images like gif (a patented format), jpg and png. It is possible to embed links within SVG to other areas in the svg or on the web. This means that javadocs generated with SVG based diagrams will have links to the classes from within the diagram! Not too mention zooming and animation (animation is considered very useful for modeling the behaviors of a class for example in state or sequence diagrams.

Constructor Detail

FileFilters

public FileFilters()
Method Detail

getSuffix

public static java.lang.String getSuffix(javax.swing.filechooser.FileFilter filter)
Returns the suffix for which a FileFilter filters.

Parameters:
filter - The FileFilter from which we want to know the suffix
Returns:
String The suffix of the FileFilter. Returns null if the FileFilter is not an instance of SuffixFilter.


ArgoUML © 1996-2004 (20040306)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook