01: /*
02: * Copyright (C) 2007 Stephen Ostermiller
03: * http://ostermiller.org/contact.pl?regarding=Java+Utilities
04: *
05: * This program is free software; you can redistribute it and/or modify
06: * it under the terms of the GNU General Public License as published by
07: * the Free Software Foundation; either version 2 of the License, or
08: * (at your option) any later version.
09: *
10: * This program is distributed in the hope that it will be useful,
11: * but WITHOUT ANY WARRANTY; without even the implied warranty of
12: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13: * GNU General Public License for more details.
14: *
15: * See COPYING.TXT for details.
16: */
17: package com.Ostermiller.util;
18:
19: /**
20: * Call back for when a command line option is found.
21: *
22: * More information about this class and code samples for suggested use are
23: * available from <a target="_top" href=
24: * "http://ostermiller.org/utils/CmdLn.html">ostermiller.org</a>.
25: *
26: * @author Stephen Ostermiller http://ostermiller.org/contact.pl?regarding=Java+Utilities
27: * @since ostermillerutils 1.07.00
28: */
29: public abstract class CmdLnListener {
30: /**
31: * Called when a command line option is found.
32: *
33: * @param result The command line option and its arguments
34: *
35: * @since ostermillerutils 1.07.00
36: */
37: public abstract void found(CmdLnResult result);
38: }
|