API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.tools. OptionChecker View Javadoc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

/*
 * @(#)OptionChecker.java	1.3 06/04/08
 *
 * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */

package javax.tools;

/**
 * Interface for recognizing options.
 *
 * @author Peter von der Ahé
 * @since 1.6
 */
public interface OptionChecker {

    /**
     * Determines if the given option is supported and if so, the
     * number of arguments the option takes.
     *
     * @param option an option
     * @return the number of arguments the given option takes or -1 if
     * the option is not supported
     */
    int isSupportedOption(String option);

}

Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar