next up previous contents
Next: AWK Up: Draw PAD figure directly Previous: C shell




To draw a PAD figure directly from a Java program, type in:

% pad2ps -java foo.java > foo.ps

You can omit -java  option if the suffix of the input file is .java.

A parser for Java program is java2pad . To execute this parser directly to convert the program into PADEL, type in:

% mkpad -java foo.java > foo.pad

In this case you cannot omit -java option.

When converting a Java program, each member function is draw as a PAD figure. The name of each function becomes the corresponding PAD's title.

By specifying -O  option, all variable declarations without initialization are discarded.

By default, ; (semi-column) at end of line is not printed in PAD figure. You can override this feature by setting -semicolon  option.

You should be able to draw PAD figures for almost all Java programs.


Go back to pad2ps - automatic PAD drawer.
Go back to Seiichi Yoshida's Home Page.
Copyright(C) Seiichi Yoshida (comet@aerith.net). All rights reserved.
Sun Nov 10 01:36:04 JST 1996