Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: raining/client/OptionProcessor.java


1   /*
2    * $Author: rahul_kumar $
3    * $Id: OptionProcessor.java,v 1.1 2003/10/03 19:11:53 rahul_kumar Exp $
4    *
5    *
6    * Copyright (C) 2003 Rahul Kumar. All rights reserved.
7    * 
8    * This library is free software; you can redistribute it and/or
9    * modify it under the terms of the GNU Lesser General Public
10   * License as published by the Free Software Foundation; either
11   * version 2.1 of the License, or (at your option) any later version.
12   * 
13   * This library is distributed in the hope that it will be useful,
14   * but WITHOUT ANY WARRANTY; without even the implied warranty of
15   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16   * Lesser General Public License for more details.
17   * 
18   * You should have received a copy of the GNU Lesser General Public
19   * License along with this library; if not, write to the Free Software
20   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
21   *
22   */
23   
24  package raining.client;
25  import raining.core.*;
26  import raining.protocol.http.*;
27  import raining.util.*;
28  import org.apache.commons.cli.*;
29  
30  /**
31   * Interface for command line processing. Used by ClientParser.
32   * Developers using ClientParser would specify to the parser, how to
33   * process options, that they have added using Options.addOption().
34   *
35   */
36  
37  public interface OptionProcessor {
38  
39      public void processOpt( Option obj ,String opt, String longOpt, String value);
40  
41  } // end of class
42  
43  
44