Java jdk.nashorn.internal.runtime.options Options fields, constructors, methods, implement or subclass

Example usage for Java jdk.nashorn.internal.runtime.options Options fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for jdk.nashorn.internal.runtime.options Options.

The text is from its open source code.

Constructor

Options(final String resource)
Constructor Options will use System.err as the output stream for any errors
Options(final String resource, final PrintWriter err)
Constructor

Method

voiddisplayHelp(final IllegalArgumentException e)
Display context sensitive help
voiddisplayHelp(final boolean extended)
Display full help
booleangetBoolean(final String key)
Return an option as a boolean
ListgetFiles()
Return the JavaScript files passed to the program
voidprocess(final String[] args)
Processes the arguments and stores their information.
voidset(final String key, final Option option)
Set an option, overwriting an existing state if one exists
voidset(final String key, final boolean option)
Set an option as a boolean value, overwriting an existing state if one exists
voidset(final String key, final String option)
Set an option as a String value, overwriting an existing state if one exists