Enum ContactsEntryExportDialog.Format
- java.lang.Object
-
- java.lang.Enum<ContactsEntryExportDialog.Format>
-
- com.openindex.openestate.tool.contacts.ContactsEntryExportDialog.Format
-
- All Implemented Interfaces:
Translatable,Serializable,Comparable<ContactsEntryExportDialog.Format>
- Enclosing class:
- ContactsEntryExportDialog
public static enum ContactsEntryExportDialog.Format extends Enum<ContactsEntryExportDialog.Format> implements Translatable
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetTranslation()StringgetTranslation(Locale locale)booleanisSupported(File file)static ContactsEntryExportDialog.FormatvalueOf(String name)Returns the enum constant of this type with the specified name.static ContactsEntryExportDialog.Format[]values()Returns an array containing the constants of this enum type, in the order they are declared.StringwriteExtensions()
-
-
-
Enum Constant Detail
-
CSV
public static final ContactsEntryExportDialog.Format CSV
-
XLS
public static final ContactsEntryExportDialog.Format XLS
-
VCARD
public static final ContactsEntryExportDialog.Format VCARD
-
-
Method Detail
-
values
public static ContactsEntryExportDialog.Format[] 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 (ContactsEntryExportDialog.Format c : ContactsEntryExportDialog.Format.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ContactsEntryExportDialog.Format 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 nameNullPointerException- if the argument is null
-
getTranslation
public String getTranslation()
- Specified by:
getTranslationin interfaceTranslatable
-
getTranslation
public String getTranslation(Locale locale)
- Specified by:
getTranslationin interfaceTranslatable
-
isSupported
public boolean isSupported(File file)
-
writeExtensions
public String writeExtensions()
-
-