KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > de > gulden > util > javasource > sourclet > SourcletOptions


1 /*
2  * Project: BeautyJ - Customizable Java Source Code Transformer
3  * Class: de.gulden.util.javasource.sourclet.SourcletOptions
4  * Version: 1.1
5  *
6  * Date: 2004-09-29
7  *
8  * Note: Contains auto-generated Javadoc comments created by BeautyJ.
9  *
10  * This is licensed under the GNU General Public License (GPL)
11  * and comes with NO WARRANTY. See file license.txt for details.
12  *
13  * Author: Jens Gulden
14  * Email: beautyj@jensgulden.de
15  */

16
17 package de.gulden.util.javasource.sourclet;
18
19 /**
20  * Class SourcletOptions.
21  *
22  * @author Jens Gulden
23  * @version 1.1
24  */

25 public interface SourcletOptions {
26
27     // ------------------------------------------------------------------------
28
// --- methods ---
29
// ------------------------------------------------------------------------
30

31     /**
32      * Gets a string value option.
33      */

34     public String JavaDoc getOption(String JavaDoc option);
35
36     /**
37      * Gets an integer value option.
38      */

39     public int getIntOption(String JavaDoc option);
40
41     /**
42      * Tests if a boolean option is selected.
43      */

44     public boolean isOption(String JavaDoc option);
45
46     /**
47      * Tests if an option has the specified value.
48      */

49     public boolean isOption(String JavaDoc option, String JavaDoc value);
50
51     /**
52      * Tests if a multi-value option has a specified value in its set of values.
53      */

54     public boolean hasOption(String JavaDoc option, String JavaDoc value);
55
56 } // end SourcletOptions
57
Popular Tags