Class OutputFormatParser

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

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

    Constructors 
    Constructor Description
    OutputFormatParser​(java.util.Map shortcutFormats)  
  • Method Summary

    Modifier and Type Method Description
    static com.martiansoftware.jsap.FlaggedOption createParam​(java.lang.String xyFormat, java.lang.String yxFormat)  
    static com.martiansoftware.jsap.FlaggedOption createParam​(java.util.Map shortcutFormats, java.lang.String defaultFormat)  
    java.lang.Object parse​(java.lang.String format)  

    Methods inherited from class com.martiansoftware.jsap.StringParser

    setUp, tearDown

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • createParam

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

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

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