Class OutputFormatParser

java.lang.Object
com.martiansoftware.jsap.StringParser
edu.sc.seis.sod.tools.OutputFormatParser

public class OutputFormatParser extends com.martiansoftware.jsap.StringParser
  • Constructor Details

    • OutputFormatParser

      public OutputFormatParser(Map shortcutFormats)
  • Method Details

    • createParam

      public static com.martiansoftware.jsap.FlaggedOption createParam(String xyFormat, String yxFormat)
    • createParam

      public static com.martiansoftware.jsap.FlaggedOption createParam(Map shortcutFormats, String defaultFormat)
    • parse

      public Object parse(String format) throws com.martiansoftware.jsap.ParseException
      Specified by:
      parse in class com.martiansoftware.jsap.StringParser
      Throws:
      com.martiansoftware.jsap.ParseException