Enum SaveType

java.lang.Object
java.lang.Enum<SaveType>
edu.umd.cs.findbugs.gui2.SaveType
All Implemented Interfaces:
Serializable, Comparable<SaveType>, java.lang.constant.Constable

enum SaveType extends Enum<SaveType>
  • Enum Constant Details

    • NOT_KNOWN

      public static final SaveType NOT_KNOWN
    • HTML_OUTPUT

      public static final SaveType HTML_OUTPUT
    • XML_ANALYSIS

      public static final SaveType XML_ANALYSIS
    • FBP_FILE

      public static final SaveType FBP_FILE
    • FBA_FILE

      public static final SaveType FBA_FILE
  • Constructor Details

    • SaveType

      private SaveType()
  • Method Details

    • values

      public static SaveType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static SaveType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getFilter

      public FindBugsFileFilter getFilter()
    • isValid

      public boolean isValid(File f)
    • getFileExtension

      public String getFileExtension()
    • forFile

      public static SaveType forFile(File f)