Output Commands
Prev | Chapter 16. BeanShell Commands | Next

## Output Commands

- `void cat(` |  | filename`)`;
  |  | filename`)`;

  Writes the contents of `filename` to the activity log.

- `void javap(` |  | target`)`;
  |  | target`)`;

  Writes the public fields and methods of the specified class to the output stream of the current process. Requires Java 2 version 1.3 or greater.

- `void print(`arg`)`;

  Writes the string value of the argument to the activity log, or if run from the Console plugin, to the current output window. If `arg` is an array, `print` runs itself recursively on the array's elements.

Prev | Up | Next
Chapter 16. BeanShell Commands | Home | File Management Commands