Home » openjdk-7 » com.sun.tools » javac » util » [javadoc | source]
com.sun.tools.javac.util
public class: Options [javadoc | source]
java.lang.Object
   com.sun.tools.javac.util.Options
A table of all command-line options. If an option has an argument, the option name is mapped to the argument. If a set option has no argument, it is mapped to itself.

This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
Field Summary
public static final  Key<Options> optionsKey    The context key for the options. 
Constructor:
 protected Options(Context context) 
Method from com.sun.tools.javac.util.Options Summary:
get,   get,   getBoolean,   getBoolean,   instance,   isSet,   isSet,   isSet,   isUnset,   isUnset,   isUnset,   keySet,   lint,   put,   put,   putAll,   remove,   size
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.tools.javac.util.Options Detail:
 public String get(String name) 
    Get the value for an undocumented option.
 public String get(OptionName name) 
    Get the value for an option.
 public boolean getBoolean(String name) 
    Get the boolean value for an option, patterned after Boolean.getBoolean, essentially will return true, iff the value exists and is set to "true".
 public boolean getBoolean(String name,
    boolean defaultValue) 
    Get the boolean with a default value if the option is not set.
 public static Options instance(Context context) 
    Get the Options instance for this context.
 public boolean isSet(String name) 
    Check if the value for an undocumented option has been set.
 public boolean isSet(OptionName name) 
    Check if the value for an option has been set.
 public boolean isSet(OptionName name,
    String value) 
    Check if the value for a choice option has been set to a specific value.
 public boolean isUnset(String name) 
    Check if the value for an undocumented option has not been set.
 public boolean isUnset(OptionName name) 
    Check if the value for an option has not been set.
 public boolean isUnset(OptionName name,
    String value) 
    Check if the value for a choice option has not been set to a specific value.
 public Set<String> keySet() 
 public boolean lint(String s) 
    Check for a lint suboption.
 public  void put(String name,
    String value) 
 public  void put(OptionName name,
    String value) 
 public  void putAll(Options options) 
 public  void remove(String name) 
 public int size()