Documentation of 'org.clapper.util.cmdline.ParameterHandler' Java class
ParameterHandler
org.clapper.util.cmdline

Interface ParameterHandler

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void parseOption(char shortOption, java.lang.String longOption, java.util.Iterator<java.lang.String> it)
      Handles a parsed option.
      void parsePostOptionParameters(java.util.Iterator<java.lang.String> it)
      Handles all parameters that appear after the end of the options.
    • Method Detail

      • parsePostOptionParameters

        void parsePostOptionParameters(java.util.Iterator<java.lang.String> it)
                                throws CommandLineUsageException,
                                       java.util.NoSuchElementException
        Handles all parameters that appear after the end of the options. If there are no such parameters, the implementation of this method should just return without doing anything.
        Parameters:
        it - the Iterator containing the parameters
        Throws:
        CommandLineUsageException - on error
        java.util.NoSuchElementException - attempt to iterate past end of args; ParameterParser.parse(java.lang.String[], org.clapper.util.cmdline.ParameterHandler) automatically handles this exception, so it's safe for implementations of this method not to handle it

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.