OptionChecker (Java SE 10 & JDK 10 ) (original) (raw)
- All Known Subinterfaces:
[DocumentationTool](../../javax/tools/DocumentationTool.html "interface in javax.tools")
,[JavaCompiler](../../javax/tools/JavaCompiler.html "interface in javax.tools")
,[JavaFileManager](../../javax/tools/JavaFileManager.html "interface in javax.tools")
,[StandardJavaFileManager](../../javax/tools/StandardJavaFileManager.html "interface in javax.tools")
All Known Implementing Classes:[ForwardingJavaFileManager](../../javax/tools/ForwardingJavaFileManager.html "class in javax.tools")
public interface OptionChecker
Interface for recognizing options.
Since:
1.6
Method Summary
All Methods Instance Methods Abstract Methods
Modifier and Type Method Description int isSupportedOption(String option) Determines if the given option is supported and if so, the number of arguments the option takes. Method Detail
* #### isSupportedOption int isSupportedOption([String](../../java/lang/String.html "class in java.lang") option) Determines if the given option is supported and if so, the number of arguments the option takes. Parameters: `option` \- an option Returns: the number of arguments the given option takes or -1 if the option is not supported
Report a bug or suggest an enhancement
For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples.
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2018, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.
All rights reserved. Use is subject to license terms and the documentation redistribution policy.