org.xerial.util.cui
Interface OptionHandler<OptionID extends Comparable>


public interface OptionHandler<OptionID extends Comparable>

A handler called when an option is set.

Author:
leo

Method Summary
 void handle(OptionParser<OptionID> parser)
          Called when the option is specified
 

Method Detail

handle

void handle(OptionParser<OptionID> parser)
            throws OptionParserException
Called when the option is specified

Parameters:
parser - the option parser
Throws:
OptionParserException - when handling of this option is failed


Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 2.1 Japan License.