Attributes
argumentsSource Codeshared String[] arguments

The command line arguments to the virtual machine.

stringSource Codeshared actual String string

A developer-friendly string representing the instance. Concatenates the name of the concrete class of the instance with the hash of the instance. Subclasses are encouraged to refine this implementation to produce a more meaningful representation.

Inherited Attributes
Attributes inherited from: Object
Methods
exitSource Codeshared void exit(Integer code)

Force the virtual machine to terminate with the given exit code.

flushSource Codeshared void flush()

Flush the standard output of the virtual machine process.

flushErrorSource Codeshared void flushError()

Flush the standard error of the virtual machine process.

namedArgumentPresentSource Codeshared Boolean namedArgumentPresent(String name)

Determine if an argument of form -name or --name was specified among the command line arguments to the virtual machine.

namedArgumentValueSource Codeshared String? namedArgumentValue(String name)

The value of the first argument of form -name=value, --name=value, or -name value specified among the command line arguments to the virtual machine, if any.

propertyValueSource Codeshared String? propertyValue(String name)

The value of the given system property of the virtual machine, if any.

readLineSource Codeshared String? readLine()

Read a line of input text from the standard input of the virtual machine process. Returns a line of text after removal of line-termination characters, or null to indicate the standard input has been closed.

writeSource Codeshared void write(String string)

Print a string to the standard output of the virtual machine process.

writeErrorSource Codeshared void writeError(String string)

Print a string to the standard error of the virtual machine process.

writeErrorLineSource Codeshared void writeErrorLine(String line = "")

Print a line to the standard error of the virtual machine process.

Parameters:
  • line = ""
writeLineSource Codeshared void writeLine(String line = "")

Print a line to the standard output of the virtual machine process.

Parameters:
  • line = ""
See also print()
Inherited Methods
Methods inherited from: Object