public static enum InclusionListExport.ExportFormat extends Enum<InclusionListExport.ExportFormat>
| Enum Constant and Description |
|---|
ABI
ABI format.
|
Bruker
Bruker format.
|
MassLynx
MassLynx format.
|
Thermo
Thermo format.
|
| Modifier and Type | Field and Description |
|---|---|
String |
description
Description of the export.
|
String |
extension
The extension of the file.
|
int |
index
Index for the export type.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
getCommandLineOptions()
Returns a description of the command line arguments.
|
static String[] |
getPossibilities()
Returns all possibilities descriptions in an array of string.
|
static InclusionListExport.ExportFormat |
getTypeFromIndex(int index)
Returns the export type corresponding to a given index.
|
static InclusionListExport.ExportFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InclusionListExport.ExportFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static File |
verifyFileExtension(File destinationFile,
InclusionListExport.ExportFormat exportFormat)
Verifies that the file extension is chosen according to the
manufacturers specification and adds the extension if missing.
|
public static final InclusionListExport.ExportFormat Thermo
public static final InclusionListExport.ExportFormat ABI
public static final InclusionListExport.ExportFormat Bruker
public static final InclusionListExport.ExportFormat MassLynx
public int index
public String description
public String extension
public static InclusionListExport.ExportFormat[] values()
for (InclusionListExport.ExportFormat c : InclusionListExport.ExportFormat.values()) System.out.println(c);
public static InclusionListExport.ExportFormat valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static InclusionListExport.ExportFormat getTypeFromIndex(int index)
index - the index of interestpublic static String[] getPossibilities()
public static String getCommandLineOptions()
public static File verifyFileExtension(File destinationFile, InclusionListExport.ExportFormat exportFormat)
destinationFile - the destination fileexportFormat - the export formatCopyright © 2021. All rights reserved.