de.miethxml.hawron.gui.io
Class ProjectExportFileFilter

java.lang.Object
  extended byjavax.swing.filechooser.FileFilter
      extended byde.miethxml.hawron.gui.io.ProjectExportFileFilter

public class ProjectExportFileFilter
extends javax.swing.filechooser.FileFilter

Author:
Simon Mieth

Field Summary
static int ANT_BUILDFILE_FORMAT
           
static int DEFAULT_CLI_FORMAT
           
static int HAWRON_FORMAT
           
 
Constructor Summary
ProjectExportFileFilter(ProjectExport exporter)
           
 
Method Summary
 boolean accept(java.io.File f)
           
 java.lang.String getDescription()
           
 ProjectExport getExporter()
           
 int getFileFormat()
           
 void setExporter(ProjectExport exporter)
           
 void setFileFormat(int fileFormat)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_CLI_FORMAT

public static int DEFAULT_CLI_FORMAT

HAWRON_FORMAT

public static int HAWRON_FORMAT

ANT_BUILDFILE_FORMAT

public static int ANT_BUILDFILE_FORMAT
Constructor Detail

ProjectExportFileFilter

public ProjectExportFileFilter(ProjectExport exporter)
Method Detail

accept

public boolean accept(java.io.File f)

getDescription

public java.lang.String getDescription()

getExporter

public ProjectExport getExporter()
Returns:
Returns the exporter.

setExporter

public void setExporter(ProjectExport exporter)
Parameters:
exporter - The exporter to set.

getFileFormat

public int getFileFormat()
Returns:
Returns the fileFormat.

setFileFormat

public void setFileFormat(int fileFormat)
Parameters:
fileFormat - The fileFormat to set.