/*
 * Copyright 2006-2022 The MZmine Development Team
 *
 * This file is part of MZmine.
 *
 * MZmine is free software; you can redistribute it and/or modify it under the terms of the GNU
 * General Public License as published by the Free Software Foundation; either version 2 of the
 * License, or (at your option) any later version.
 *
 * MZmine is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
 * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along with MZmine; if not,
 * write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 *
 */

package io.github.mzmine.modules.io.spectraldbsubmit.batch;

public enum SpectralLibraryExportFormats {
  json, msp;

  @Override
  public String toString() {
    return switch (this) {
      case json -> "GNPS json (recommended)";
      case msp -> "NIST msp";
    };
  }

  public String getExtension() {
    return switch (this) {
      case json -> "json";
      case msp -> "msp";
    };
  }
}

@@ -12,13 +12,17 @@
 ight
+ (c)
  200
-6
+4
 -202
@@ -61,350 +61,637 @@
 %0A * 
-This file is part of MZmine.%0A *%0A * MZmine is free software; you can redistribute it and/or modify it under the terms of the GNU%0A * General Public L
+Permission is hereby granted, free of charge, to any person%0A * obtaining a copy of this software and associated documentation%0A * files (the %22Software%22), to deal in the Software without%0A * restriction, including without limitation the rights to use,%0A * copy, modify, merge, publish, distribute, subl
 icense
+,
  a
-s published by the Free Software Foundation; either v
+nd/or sell%0A * copies of the Software, and to permit p
 ers
-i
 on
- 2 of the%0A * License, or (at your option) any later version.
+s to whom the%0A * Software is furnished to do so, subject to the following%0A * conditions:
 %0A *%0A * 
-MZmine is distributed in the hope that it will be useful, but
+The above copyright notice and this permission notice shall be%0A * included in all copies or substantial portions of the Software.%0A *%0A * THE SOFTWARE IS PROVIDED %22AS IS%22,
  WIT
@@ -699,20 +699,16 @@
 OUT 
-ANY 
 WARRANTY
 ; wi
@@ -707,49 +707,94 @@
 ANTY
-; without even%0A * the implied warranty of
+ OF ANY KIND,%0A * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES%0A * OF
  MER
@@ -805,19 +805,17 @@
 TABILITY
- or
+,
  FITNESS
@@ -843,271 +843,303 @@
 POSE
-. See the GNU%0A * General Public License for more details.%0A *%0A * You should have received a copy of the GNU General Public License along with MZmine; if not,%0A * write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.%0A *
+ AND%0A * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT%0A * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,%0A * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING%0A * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR%0A * OTHER DEALINGS IN THE SOFTWARE.
 %0A */
@@ -1350,12 +1350,14 @@
 -%3E %22
-GNPS
+MZmine
  jso

Change export format name to mzmine