You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
682 B
47 lines
682 B
/*
|
|
* Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved.
|
|
* ORACLE 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);
|
|
|
|
}
|