edu.sc.seis.sod.tools
Class OutputFormatParser
java.lang.Object
com.martiansoftware.jsap.StringParser
edu.sc.seis.sod.tools.OutputFormatParser
public class OutputFormatParser
- extends com.martiansoftware.jsap.StringParser
Method Summary |
static com.martiansoftware.jsap.FlaggedOption |
createParam(java.util.Map shortcutFormats,
java.lang.String defaultFormat)
|
static com.martiansoftware.jsap.FlaggedOption |
createParam(java.lang.String xyFormat,
java.lang.String yxFormat)
|
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 |
OutputFormatParser
public OutputFormatParser(java.util.Map shortcutFormats)
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