Package Summary
Overview Summary
class:OptionChecker [CHANGED]
All Known Subinterfaces:
DocumentationTool
,
JavaCompiler
,
JavaFileManager
,
StandardJavaFileManager
All Known Implementing Classes:
ForwardingJavaFileManager
Functional
Interface:
This
is
a
functional
interface
and
can
therefore
be
used
as
the
assignment
target
for
a
lambda
expression
or
method
reference.
public interface
OptionChecker
Interface for recognizing options.
Since:
1.6
All Known Subinterfaces:
JavaCompiler
,
JavaFileManager
,
StandardJavaFileManager
All Known Implementing Classes:
ForwardingJavaFileManager
public interface
OptionChecker
Interface for recognizing options.
Since:
1.6
All Known Subinterfaces:
DocumentationTool
,
JavaCompiler
,
JavaFileManager
,
StandardJavaFileManager
All Known Implementing Classes:
ForwardingJavaFileManager
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
public interface
OptionChecker
Interface for recognizing options.
Since:
1.6
method:isSupportedOption(java.lang.String) [NONE]
isSupportedOption
int isSupportedOption(
String
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