Class OutputFormatParser


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

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

      All Methods Static Methods Instance Methods Concrete Methods 
      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 Detail

      • OutputFormatParser

        public OutputFormatParser​(java.util.Map shortcutFormats)
    • Method Detail

      • 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