CmdLnListener.java Source Code

  • CmdLnListener Javadoc
    /*
     * Copyright (C) 2002-2011 Stephen Ostermiller
     * http://ostermiller.org/contact.pl?regarding=Java+Utilities
     *
     * This program is free software; you can redistribute it and/or modify
     * it under the terms of the GNU General Public License as published by
     * the Free Software Foundation; either version 2 of the License, or
     * (at your option) any later version.
     *
     * This program is distributed in the hope that it will be useful,
     * but WITHOUT ANY WARRANTY; without even the implied warranty of
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     * GNU General Public License for more details.
     *
     * See LICENSE.txt for details.
     */
    package com.Ostermiller.util;
    
    /**
     * Call back for when a command line option is found.
     *
     * More information about this class and code samples for suggested use are
     * available from <a target="_top" href=
     * "http://ostermiller.org/utils/CmdLn.html">ostermiller.org</a>.
     *
     * @author Stephen Ostermiller http://ostermiller.org/contact.pl?regarding=Java+Utilities
     * @since ostermillerutils 1.07.00
     */
    public abstract class CmdLnListener
    {
    	/**
    	 * Called when a command line option is found.
    	 *
    	 * @param result The command line option and its arguments
    	 *
    	 * @since ostermillerutils 1.07.00
    	 */
    	public abstract void found(CmdLnResult result);
    }