Package org.openstreetmap.josm.actions
Enum ExtensionFileFilter.AddArchiveExtension
- java.lang.Object
-
- java.lang.Enum<ExtensionFileFilter.AddArchiveExtension>
-
- org.openstreetmap.josm.actions.ExtensionFileFilter.AddArchiveExtension
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ExtensionFileFilter.AddArchiveExtension>
- Enclosing class:
- ExtensionFileFilter
public static enum ExtensionFileFilter.AddArchiveExtension extends java.lang.Enum<ExtensionFileFilter.AddArchiveExtension>
Strategy to determine if extensions must be added to the description.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
AddArchiveExtension()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExtensionFileFilter.AddArchiveExtension
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ExtensionFileFilter.AddArchiveExtension[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final ExtensionFileFilter.AddArchiveExtension NONE
No extension is added
-
BASE
public static final ExtensionFileFilter.AddArchiveExtension BASE
Only base extension is added
-
ALL
public static final ExtensionFileFilter.AddArchiveExtension ALL
All extensions are added (base + archives)
-
-
Constructor Detail
-
AddArchiveExtension
private AddArchiveExtension()
-
-
Method Detail
-
values
public static ExtensionFileFilter.AddArchiveExtension[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ExtensionFileFilter.AddArchiveExtension c : ExtensionFileFilter.AddArchiveExtension.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExtensionFileFilter.AddArchiveExtension valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-