Top Description Methods
javax.tools

public Interface OptionChecker

Known Direct Subinterfaces
javax.tools.DocumentationTool, javax.tools.JavaCompiler, javax.tools.JavaFileManager

Interface for recognizing options.
Since
1.6

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the number of arguments the given option takes or -1 if the option is not supported
isSupportedOption
(String
an option
option
)

Determines if the given option is supported and if so, the number of arguments the option takes.

Method Detail

isSupportedOptionback to summary
public int isSupportedOption(String option)

Determines if the given option is supported and if so, the number of arguments the option takes.

Parameters
option:String

an option

Returns:int

the number of arguments the given option takes or -1 if the option is not supported